<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>81039</bug_id>
          
          <creation_ts>2012-03-13 14:58:48 -0700</creation_ts>
          <short_desc>Remove skew() transformation function (leaving skewX() and skewY())</short_desc>
          <delta_ts>2017-04-19 01:06:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>https://www.w3.org/Bugs/Public/show_bug.cgi?id=16300</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>WebExposed</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Schulze">krit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ayg</cc>
    
    <cc>dino</cc>
    
    <cc>peter</cc>
    
    <cc>roc</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>577841</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2012-03-13 14:58:48 -0700</bug_when>
    <thetext>Transform editors seem to agree that skew() should get removed from the CSS3 Transform spec. skew is not doing what it suggests to do with questionable mathematical formulas. The skew() function should be removed, once it is removed from the WD of the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>577848</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-03-13 15:01:02 -0700</bug_when>
    <thetext>It should be removed when we parse unprefixed &apos;transform&apos;, yes. We should leave it in the prefixed one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>577865</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2012-03-13 15:11:02 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; It should be removed when we parse unprefixed &apos;transform&apos;, yes. We should leave it in the prefixed one.

Do I understand it correctly? You want not to support skew() on unprefixed, but we will still support skew() for the prefixed version, even if we unprefixed transform?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>577871</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-03-13 15:16:03 -0700</bug_when>
    <thetext>Yes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594308</commentid>
    <comment_count>4</comment_count>
    <who name="Robert O&apos;Callahan">roc</who>
    <bug_when>2012-04-03 02:12:46 -0700</bug_when>
    <thetext>If you continue support -webkit-transform:skew(), then authors will use it and copy-paste skew() into unprefixed &apos;transform&apos;, so we&apos;ll never be able to stop supporting it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594520</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-04-03 08:45:13 -0700</bug_when>
    <thetext>You could make the same argument for any change between prefixed and unprefixed properties. We can&apos;t remove it from the prefixed property and risk breaking walled-garden Apple content.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594547</commentid>
    <comment_count>6</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2012-04-03 09:13:24 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; If you continue support -webkit-transform:skew(), then authors will use it and copy-paste skew() into unprefixed &apos;transform&apos;, so we&apos;ll never be able to stop supporting it.

We won&apos;t support it for transform un-prefixed. Authors will realize the difference when they try it on un-prefixed versions of &apos;transform&apos;. We have at least one test from Aryeh in the CSS testing harness that will clearly fail on WebKit if we still support it.

Even so, if authors would still use &apos;-webkit-&apos; it won&apos;t get supported by Firefox anyway (till you implement the webkit prefix).

And the last point: I never saw any usage of skew() in the wild so far. And I can&apos;t imagine a sense full way to use it. I bet no one will realize that skew() was removed since no one ever used it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594780</commentid>
    <comment_count>7</comment_count>
    <who name="Robert O&apos;Callahan">roc</who>
    <bug_when>2012-04-03 13:00:52 -0700</bug_when>
    <thetext>&gt; Authors will realize the difference when they try it on un-prefixed versions
&gt; of &apos;transform&apos;.

Not if they only test in Webkit, since if they write
-webkit-transform:skew();
transform:skew();
the latter will be ignored and the former will continue to work.

&gt; I bet no one will realize that skew() was removed since no one ever used it.

Let&apos;s hope so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594802</commentid>
    <comment_count>8</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2012-04-03 13:18:07 -0700</bug_when>
    <thetext>I&apos;ve seen in-the-wild use of skew to do horrible 3d-ish replications, or possibly isometric stuff. I still want to kill the function though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594808</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-04-03 13:21:19 -0700</bug_when>
    <thetext>Oh you mean like http://www.zachstronaut.com/lab/isocube.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>674377</commentid>
    <comment_count>10</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-07-20 02:39:57 -0700</bug_when>
    <thetext>Gecko removed the feature for Firefox 14, which was just released:

https://bugzilla.mozilla.org/show_bug.cgi?id=734953

We&apos;ve received five compatibility complaints so far, marked as blocking that bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=747637
https://bugzilla.mozilla.org/show_bug.cgi?id=771180
https://bugzilla.mozilla.org/show_bug.cgi?id=775046
https://bugzilla.mozilla.org/show_bug.cgi?id=775710
https://bugzilla.mozilla.org/show_bug.cgi?id=775763

I think all of them used skew(a) or skew(a, 0) instead of skewX(a) -- I don&apos;t think any were using skew(a, b) with a, b != 0 except for demos that let you use all the transform functions.  They&apos;re all easily fixed, obviously.

Could WebKit please remove these functions already?  We agreed that we were all going to drop them, and it&apos;s not very nice for Mozilla to have to shoulder all the complaints of &quot;every other browser supports it, why did you break my pages?&quot;  There are evidently compatibility issues here, but small ones.

(In reply to comment #7)
&gt; &gt; Authors will realize the difference when they try it on un-prefixed versions
&gt; &gt; of &apos;transform&apos;.
&gt; 
&gt; Not if they only test in Webkit, since if they write
&gt; -webkit-transform:skew();
&gt; transform:skew();
&gt; the latter will be ignored and the former will continue to work.

Once WebKit unprefixes, it will break for them too, right?  Walled-garden content probably won&apos;t break, because probably authors of walled-garden content won&apos;t bother to specify both properties.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>674677</commentid>
    <comment_count>11</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-07-20 10:16:47 -0700</bug_when>
    <thetext>We can remove them when we drop prefixes, not before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681912</commentid>
    <comment_count>12</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-07-30 05:34:25 -0700</bug_when>
    <thetext>Mozilla is re-adding skew() support, and requesting that the spec be reverted to require it again:

https://bugzilla.mozilla.org/show_bug.cgi?id=747637
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18436</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1298628</commentid>
    <comment_count>13</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2017-04-19 01:06:15 -0700</bug_when>
    <thetext>We failed to remove skew() when dropping prefixes :|</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>