Skip to content

Commit b65e28b

Browse files
committed
- 'This version' links to the current version of this specification instead of CSS3 2D Transforms now.
- Corrected typing errors in introduction. - Mention three dimensional space in introduction. - Added TODO for adding perspective transform in introduction. - Added new section 'Definitions' for terms used in this document. - Copied style setting for term descriptions from the 'Filter Effects 1.0' specification. - Introduced new term 'transformable element' and added description to the 'Description' section. - Added new section 'Changes' for changes to this document.
1 parent 32e88ca commit b65e28b

1 file changed

Lines changed: 80 additions & 11 deletions

File tree

css3-transforms/Transforms.src.html

Lines changed: 80 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,22 @@
7575
font-size: 120%;
7676
color: red;
7777
}
78+
79+
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
80+
dt { font-weight: bold }
81+
82+
.todo {
83+
font-weight: bold;
84+
border-left: 0.5em solid #f44;
85+
padding-left: 1em;
86+
margin-top: 0.5em;
87+
color: #a0a0a0;
88+
}
89+
90+
.todo:before {
91+
content: "TO DO : ";
92+
color: #f44;
93+
}
7894
</style>
7995

8096
</head>
@@ -88,7 +104,7 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
88104
<dl>
89105
<dt>This version:
90106
<dd>
91-
<a href="[VERSION]">http://dev.w3.org/csswg/css3-2d-transforms/</a>
107+
<a href="[VERSION]">http://dev.w3.org/csswg/css3-transforms/</a>
92108
<!--http://www.w3.org/TR/[YEAR]/WD-[SHORTNAME]-[CDATE]-->
93109
<dt>Latest version:
94110
<dd><a
@@ -114,7 +130,7 @@ <h2 class="no-num no-toc" id="abstract">Abstract</h2>
114130
<strong>THIS IS A WORK IN PROGRESS AND NOT READY FOR REVIEW.</strong>
115131

116132
<p>CSS transforms allows elements styled with CSS to be transformed
117-
in two-dimensional or three=dimensional space. This specification is the convergence of the
133+
in two-dimensional or three-dimensional space. This specification is the convergence of the
118134
<a href="http://www.w3.org/TR/css3-2d-transforms/">CSS 2D transforms</a>,
119135
<a href="http://www.w3.org/TR/css3-3d-transforms/">CSS 3D transforms</a>
120136
and <a href="http://www.w3.org/TR/2009/WD-SVG-Transforms-20090320/">SVG transforms</a>
@@ -145,10 +161,13 @@ <h2>Introduction</h2>
145161
corner of the parent with positive values proceeding to the right and
146162
down.
147163
</p>
164+
<p class="todo">
165+
Need to mention the perspective transform to give a sense of depth.
166+
</p>
148167
<p>
149168
This coordinate space can be modified with the <span
150169
class="prop-name">'transform'</span> property. Using transform, elements
151-
can be translated, rotated and scaled in two dimensional space.
170+
can be translated, rotated and scaled in two or three dimensional space.
152171
The coordinate space
153172
behaves as described in the <a
154173
href="http://www.w3.org/TR/SVG/coords.html#EstablishingANewUserSpace">coordinate
@@ -157,9 +176,7 @@ <h2>Introduction</h2>
157176
the right; the Y axis increases vertically downwards.
158177
</p>
159178
<p>
160-
Transforms apply to block-level and atomic inline-level
161-
elements, but do not apply to elements which may be split into
162-
multiple inline-level boxes.
179+
Transforms apply to <a href="#TermTransformableElement">transformable elements</a>.
163180
</p>
164181
<p>
165182
Specifying a value other than 'none' for the <span class="prop-name">'transform'</span>
@@ -185,10 +202,10 @@ <h2>Introduction</h2>
185202
both a stacking context and a containing block. The object acts as a
186203
containing block for fixed positioned descendants.
187204
</p>
188-
<div class="todo">
205+
<p class="todo">
189206
Need to go into more detail here about why fixed positioned objects
190207
should do this, i.e., that it's much harder to implement otherwise.
191-
</div>
208+
</p>
192209
<div class="issue">
193210
There are two roles for transformations in layout: (1) transformations
194211
that adjust the position of the affected content without changing the
@@ -212,6 +229,26 @@ <h2>Introduction</h2>
212229
be acting as "porthole" through which the fixed background can be viewed
213230
in its original form.
214231
</div><!-- ======================================================================================================= -->
232+
<h2 id="definitions">
233+
Definitions
234+
</h2>
235+
<p> When used in this specification, terms have the meanings assigned in
236+
this section.
237+
</p>
238+
<dl>
239+
<dt id="TermTransformableElement">
240+
<span class="termDefine">transformable element</span>
241+
</dt>
242+
<dd>
243+
<p>
244+
A transformable element can either be a block-level or atomic inline-level
245+
element, not splitted into multiple inline-level boxes,
246+
from the HTML namespace, or an element which has the attributes 'transform',
247+
'patternTransform' or 'gradientTransform' in the SVG namespace (see [[SVG11]]).
248+
</p>
249+
</dd>
250+
</dl>
251+
215252
<h2 id="transform-property">
216253
The <span class="prop-name">'transform'</span> Property
217254
</h2>
@@ -256,7 +293,7 @@ <h2 id="transform-property">
256293
<em>Applies&nbsp;to:</em>
257294
</td>
258295
<td>
259-
block-level and atomic inline-level elements
296+
<a href="#TermTransformableElement">transformable elements</a>
260297
</td>
261298
</tr>
262299
<tr>
@@ -400,7 +437,7 @@ <h2 id="transform-origin-property">
400437
<em>Applies&nbsp;to:</em>
401438
</td>
402439
<td>
403-
block-level and atomic inline-level elements
440+
<a href="#TermTransformableElement">transformable element</a>
404441
</td>
405442
</tr>
406443
<tr>
@@ -1195,7 +1232,39 @@ <h3 id="cssmatrix-interface">
11951232
representing the 3x2 matrix that is the result of applying the individual functions listed in the
11961233
<code>transform</code> property.
11971234
</p>
1198-
1235+
1236+
1237+
<h2 id="changes">Changes</h2>
1238+
1239+
<h3 id="changes_from_January_24_2012">
1240+
Changes from <a href="http://www.w3.org/TR/2012/WD-css3-transforms-20110124/">January 24<sup>th</sup> 2012</a> version
1241+
</h3>
1242+
<ul>
1243+
<li>
1244+
'This version' links to the current version of this specification instead of CSS3 2D Transforms now.
1245+
</li>
1246+
<li>
1247+
Corrected typing errors in introduction.
1248+
<li>
1249+
Mention three dimensional space in introduction.
1250+
</li>
1251+
<li>
1252+
Added TODO for adding perspective transform in introduction.
1253+
</li>
1254+
<li>
1255+
Added new section 'Definitions' for terms used in this document.
1256+
</li>
1257+
<li>
1258+
Copied style setting for term descriptions from the 'Filter Effects 1.0' specification.
1259+
</li>
1260+
<li>
1261+
Introduced new term 'transformable element' and added description to the 'Description' section.
1262+
</li>
1263+
<li>
1264+
Added new section 'Changes' for changes to this document.
1265+
</li>
1266+
</ul>
1267+
11991268

12001269
<h2>References</h2>
12011270

0 commit comments

Comments
 (0)