Skip to content

Commit 8c04a07

Browse files
committed
[css-transforms] Add a couple of minor issues and do some minor editorial work.
1 parent ef2ef05 commit 8c04a07

3 files changed

Lines changed: 41 additions & 18 deletions

File tree

css-transforms/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2013-06-16 Simon Fraser <simon.fraser@apple.com>
2+
Add an ISSUE to fix some non-normative text related to background-visibility.
3+
Add an ISSUE for an example that doesn't match WebKit rendering.
4+
Tidy up some note text about transform interpolation.
5+
16
2013-05-20 Dirk Schulze <dschulze@adobe.com>
27
Add note about module interaction with CSSOM-VIEW.
38

css-transforms/Overview.html

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
rel=dcterms.rights>
1313
<meta content="CSS Transforms" name=dcterms.title>
1414
<meta content=text name=dcterms.type>
15-
<meta content=2013-05-20 name=dcterms.date>
15+
<meta content=2013-06-17 name=dcterms.date>
1616
<meta content="Simon Fraser" name=dcterms.creator>
1717
<meta content="Dean Jackson" name=dcterms.creator>
1818
<meta content="Edward O'Connor" name=dcterms.creator>
@@ -35,14 +35,14 @@
3535

3636
<h1>CSS Transforms Level 1</h1>
3737

38-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 20 May 2013</h2>
38+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 June 2013</h2>
3939

4040
<dl>
4141
<dt>This version:
4242

4343
<dd> <a
4444
href="http://dev.w3.org/csswg/css3-transforms/">http://dev.w3.org/csswg/css3-transforms/</a>
45-
<!--http://www.w3.org/TR/2013/WD-css3-transforms-20130520/-->
45+
<!--http://www.w3.org/TR/2013/WD-css3-transforms-20130617/-->
4646

4747
<dt>Latest version:
4848

@@ -1171,6 +1171,11 @@ <h3 id=transform-3d-rendering><span class=secno>6.1. </span>3D Transform
11711171
its front and reverse sides were alternately visible, then it would only
11721172
be visible when the front side were towards the viewer.
11731173

1174+
<div class=issue>
1175+
<p class=desc> This wording needs clarification; backface-visibility works
1176+
per-3D rendering context, not relative to the root.
1177+
</div>
1178+
11741179
<h3 id=processing-of-perspective-transformed-boxes><span class=secno>6.2.
11751180
</span> Processing of Perspective-Transformed Boxes</h3>
11761181

@@ -1271,6 +1276,11 @@ <h3 id=processing-of-perspective-transformed-boxes><span class=secno>6.2.
12711276
infinite, the user can still scroll to the edges to see the blue parts.
12721277
</div>
12731278

1279+
<div class=issue>
1280+
<p class=desc> WebKit doesn't render this box unless the translateZ() is
1281+
&lt; 50px.
1282+
</div>
1283+
12741284
<div class=example>
12751285
<pre>&lt;style&gt;
12761286
.transformed {
@@ -3017,7 +3027,7 @@ <h2 id=interpolation-of-transform-functions><span class=secno>19. </span>
30173027
and interpolated as defined in section <a
30183028
href="#matrix-interpolation">Interpolation of Matrices</a> afterwards.
30193029

3020-
<p> For interpolatations with the primitive ‘<code
3030+
<p> For interpolations with the primitive ‘<code
30213031
class=css>rotate3d</code>’, the direction vectors of the transform
30223032
functions get normalized first. If the normalized vectors are equal, the
30233033
rotation angle gets interpolated numerically. Otherwise the transform
@@ -3041,10 +3051,10 @@ <h2 id=matrix-interpolation><span class=secno>20. </span> Interpolation of
30413051

30423052
<div class=note>
30433053
<p> In the following example the element gets translated by 100 pixel in
3044-
both the X and Y directions and rotated by 1170 degree on hovering. The
3045-
initial transformation is 45 degree. With the usage of transition, an
3046-
author might expect a animated, clockwise rotation by three and a quarter
3047-
turn (1170 degree).
3054+
both the X and Y directions and rotated by 1170° on hovering. The
3055+
initial transformation is 45°. With the usage of transition, an author
3056+
might expect a animated, clockwise rotation by three and a quarter turns
3057+
(1170°).
30483058

30493059
<pre>
30503060
&lt;style&gt;
@@ -3067,13 +3077,13 @@ <h2 id=matrix-interpolation><span class=secno>20. </span> Interpolation of
30673077
both transforms must be interpolated by matrix interpolation. With
30683078
converting the transformation functions to matrices, the information
30693079
about the three turns gets lost and the element gets rotated by just a
3070-
quarter turn (90 degree).
3080+
quarter turn (90°).
30713081

30723082
<p> To achieve the three and a quarter turns for the example above, source
30733083
and destination transforms must fulfill the third rule of <a
30743084
href="#animation">Interpolation of Transforms</a>. Source transform could
30753085
look like ‘<code class=css>translate(0, 0) rotate(45deg)</code>’ for
3076-
a linearly interpolation of the transform functions.
3086+
a linear interpolation of the transform functions.
30773087
</div>
30783088

30793089
<p> If one of the matrices for interpolation is non-invertible, the used

css-transforms/Transforms.src.html

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,11 @@ <h3 id="transform-3d-rendering">3D Transform Rendering</h3>
808808
such that its front and reverse sides were alternately visible, then it would only be visible when the
809809
front side were towards the viewer.
810810
</p>
811+
<div class="issue">
812+
<p class="desc">
813+
This wording needs clarification; backface-visibility works per-3D rendering context, not relative to the root.
814+
</p>
815+
</div>
811816

812817
<h3 id="processing-of-perspective-transformed-boxes">
813818
Processing of Perspective-Transformed Boxes
@@ -922,7 +927,6 @@ <h3 id="processing-of-perspective-transformed-boxes">
922927
center of the box, which is yellow, the screen will be filled
923928
with yellow.
924929
</p>
925-
926930
<p>
927931
Mathematically, the point (<var>x</var>, <var>y</var>) first
928932
becomes (<var>x</var>, <var>y</var>, 0, 1), then is translated
@@ -940,6 +944,11 @@ <h3 id="processing-of-perspective-transformed-boxes">
940944
to see the blue parts.
941945
</p>
942946
</div>
947+
<div class="issue">
948+
<p class="desc">
949+
WebKit doesn't render this box unless the translateZ() is &lt; 50px.
950+
</p>
951+
</div>
943952

944953
<div class="example">
945954
<pre>&lt;style&gt;
@@ -2804,7 +2813,7 @@ <h2 id="interpolation-of-transform-functions">
28042813
</p>
28052814

28062815
<p>
2807-
For interpolatations with the primitive ''rotate3d'', the direction vectors of the
2816+
For interpolations with the primitive ''rotate3d'', the direction vectors of the
28082817
transform functions get normalized first. If the
28092818
normalized vectors are equal, the rotation angle gets interpolated numerically.
28102819
Otherwise the transform functions get converted into 4x4 matrices first and
@@ -2831,9 +2840,9 @@ <h2 id="matrix-interpolation">
28312840
<div class="note">
28322841
<p>
28332842
In the following example the element gets translated by 100 pixel in both the X
2834-
and Y directions and rotated by 1170 degree on hovering. The initial
2835-
transformation is 45 degree. With the usage of transition, an author might expect
2836-
a animated, clockwise rotation by three and a quarter turn (1170 degree).
2843+
and Y directions and rotated by 1170&deg; on hovering. The initial
2844+
transformation is 45&deg;. With the usage of transition, an author might expect
2845+
a animated, clockwise rotation by three and a quarter turns (1170&deg;).
28372846
</p>
28382847

28392848
<pre>
@@ -2856,15 +2865,14 @@ <h2 id="matrix-interpolation">
28562865
According to the last rule of <a href="#animation">Interpolation of
28572866
Transforms</a>, both transforms must be interpolated by matrix interpolation.
28582867
With converting the transformation functions to matrices, the information about
2859-
the three turns gets lost and the element gets rotated by just a quarter turn (90
2860-
degree).
2868+
the three turns gets lost and the element gets rotated by just a quarter turn (90&deg;).
28612869
</p>
28622870

28632871
<p>
28642872
To achieve the three and a quarter turns for the example above, source and
28652873
destination transforms must fulfill the third rule of <a
28662874
href="#animation">Interpolation of Transforms</a>. Source transform could look
2867-
like ''translate(0, 0) rotate(45deg)'' for a linearly interpolation of
2875+
like ''translate(0, 0) rotate(45deg)'' for a linear interpolation of
28682876
the transform functions.
28692877
</p>
28702878
</div>

0 commit comments

Comments
 (0)