Skip to content

Commit 585a318

Browse files
committed
2012-02-01 simon.fraser@apple.com
Fix the definition of skew(): https://www.w3.org/Bugs/Public/show_bug.cgi?id=15537
1 parent 2c85582 commit 585a318

3 files changed

Lines changed: 13 additions & 15 deletions

File tree

css3-transforms/ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2012-02-01 simon.fraser@apple.com
2+
Fix the definition of skew(): https://www.w3.org/Bugs/Public/show_bug.cgi?id=15537
3+
14
2012-01-31 simon.fraser@apple.com
25
Add a definition for skew(x, y), fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15537
36

css3-transforms/Overview.html

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@
3636

3737
<h1>CSS Transforms</h1>
3838

39-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 31 January
39+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 1 February
4040
2012</h2>
4141

4242
<dl>
4343
<dt>This version:
4444

4545
<dd> <a
46-
href="http://www.w3.org/TR/2012/ED-css3-transforms-20120131/">http://dev.w3.org/csswg/css3-transforms/</a>
47-
<!--http://www.w3.org/TR/2012/WD-css3-transforms-20120131-->
46+
href="http://www.w3.org/TR/2012/ED-css3-transforms-20120201/">http://dev.w3.org/csswg/css3-transforms/</a>
47+
<!--http://www.w3.org/TR/2012/WD-css3-transforms-20120201-->
4848

4949
<dt>Latest version:
5050

@@ -1414,15 +1414,11 @@ <h3 id=two-d-transform-functions><span class=secno>12.1. </span>2D
14141414
example, rotate(90deg) would cause elements to appear rotated one-quarter
14151415
of a turn in the clockwise direction.
14161416

1417-
<dt> <code class=css>skew(&lt;x-angle&gt;[, &lt;angle&gt;])</code>
1417+
<dt> <code class=css>skew(&lt;x-angle&gt;[, &lt;y-angle&gt;])</code>
14181418

1419-
<dd> specifies a <a
1420-
href="http://www.w3.org/TR/SVG/coords.html#SkewXDefined">skew
1421-
transformation along the X axis</a> by the angle specified in the first
1422-
parameter, and a <a
1423-
href="http://www.w3.org/TR/SVG/coords.html#SkewYDefined">skew
1424-
transformation along the Y axis</a> by the angle specified in the second
1425-
parameter. If the second parameter is not provided, it has a value of 0.
1419+
<dd> specifies a skew in X and Y. If <em>&lt;y-angle&gt;</em> is not
1420+
provided, it is has a zero value. The resulting transformation matrix is
1421+
[1, tan(y-angle), tan(x-angle), 1, 0, 0].
14261422

14271423
<dt> <code class=css>skewX(&lt;angle&gt;)</code>
14281424

css3-transforms/Transforms.src.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,12 +1263,11 @@ <h3 id="two-d-transform-functions">2D Transformation Functions</h3>
12631263
rotated one-quarter of a turn in the clockwise direction.
12641264
</dd>
12651265
<dt>
1266-
<code class="css">skew(&lt;x-angle&gt;[, &lt;angle&gt;])</code>
1266+
<code class="css">skew(&lt;x-angle&gt;[, &lt;y-angle&gt;])</code>
12671267
</dt>
12681268
<dd>
1269-
specifies a <a href="http://www.w3.org/TR/SVG/coords.html#SkewXDefined">skew transformation along the X axis</a> by the angle
1270-
specified in the first parameter, and a <a href="http://www.w3.org/TR/SVG/coords.html#SkewYDefined">skew transformation along the Y
1271-
axis</a> by the angle specified in the second parameter. If the second parameter is not provided, it has a value of 0.
1269+
specifies a skew in X and Y. If <em>&lt;y-angle&gt;</em> is not provided, it is has a zero value.
1270+
The resulting transformation matrix is [1, tan(y-angle), tan(x-angle), 1, 0, 0].
12721271
</dd>
12731272
<dt>
12741273
<code class="css">skewX(&lt;angle&gt;)</code>

0 commit comments

Comments
 (0)