Skip to content

Commit b3067af

Browse files
committed
Fixed typos in the SVG 'transform' attribute section.
1 parent f6c15d8 commit b3067af

3 files changed

Lines changed: 100 additions & 90 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-03-13 dschulze@adobe.com
2+
Fixed typos in the SVG 'transform' attribute section.
3+
14
2012-03-13 ayg@aryeh.name
25
Typo fixes
36

css3-transforms/Overview.html

Lines changed: 61 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636

3737
<h1>CSS Transforms</h1>
3838

39-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 13 March 2012</h2>
39+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 14 March 2012</h2>
4040

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

4444
<dd> <a
45-
href="http://www.w3.org/TR/2012/ED-css3-transforms-20120313/">http://dev.w3.org/csswg/css3-transforms/</a>
46-
<!--http://www.w3.org/TR/2012/WD-css3-transforms-20120313-->
45+
href="http://www.w3.org/TR/2012/ED-css3-transforms-20120314/">http://dev.w3.org/csswg/css3-transforms/</a>
46+
<!--http://www.w3.org/TR/2012/WD-css3-transforms-20120314-->
4747

4848
<dt>Latest version:
4949

@@ -209,7 +209,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
209209
</span>Transform List</a>
210210

211211
<li><a href="#svg-functional-notation"><span class=secno>7.2.2.
212-
</span>Functional Notations</a>
212+
</span>Functional Notation</a>
213213

214214
<li><a href="#svg-data-types"><span class=secno>7.2.3. </span>SVG Data
215215
Types</a>
@@ -1033,7 +1033,7 @@ <h2 id=svg-transform><span class=secno>7. </span> The SVG &lsquo;<a
10331033
class=property>patternTransform</code>&rsquo; as <a
10341034
href="http://www.w3.org/TR/2011/REC-SVG11-20110816/styling.html#UsingPresentationAttributes"><em>presentation
10351035
attributes</em></a>. In order to improve the integration of SVG and HTML,
1036-
this specification makes these SVG attributes to &lsquo;<code
1036+
this specification makes these SVG attributes &lsquo;<code
10371037
class=css>presentation attributes</code>&rsquo; and makes the &lsquo;<a
10381038
href="#effects"><code class=css><code
10391039
class=property>transform</code></code></a>&rsquo; property one that
@@ -1051,14 +1051,14 @@ <h2 id=svg-transform><span class=secno>7. </span> The SVG &lsquo;<a
10511051
class=property>transform-style</code></code></a>&rsquo; and &lsquo;<a
10521052
href="#backface-visibility"><code class=css><code
10531053
class=property>backface-visibility</code></code></a>&rsquo; in the SVG
1054-
namespace. All new introduced presentation attributes are animateable.
1054+
namespace. All new introduced presentation attributes are animatable.
10551055

10561056
<h3 id=transform-attribute-specificity><span class=secno>7.1. </span>SVG
10571057
&lsquo;<a href="#effects"><code class=css><code
10581058
class=property>transform</code></code></a>&rsquo; attribute specificity</h3>
10591059

10601060
<p>Since the previously named SVG attributes become presentation
1061-
attributes, their participation to the CSS cascade is determined by the
1061+
attributes, their participation in the CSS cascade is determined by the
10621062
specificity of presentation attributes, as <a
10631063
href="http://www.w3.org/TR/2011/REC-SVG11-20110816/styling.html#UsingPresentationAttributes">explained</a>
10641064
in the SVG specification.
@@ -1071,7 +1071,7 @@ <h3 id=transform-attribute-specificity><span class=secno>7.1. </span>SVG
10711071
class=property>transform</code></code></a>&rsquo; presentation attribute.
10721072
</p>
10731073

1074-
<pre>&lt;svg&gt;
1074+
<pre>&lt;svg xmlns="http://www.w3.org/2000/svg"&gt;
10751075
&lt;style&gt;
10761076
.container {
10771077
transform: translate(100px, 100px);
@@ -1092,21 +1092,21 @@ <h3 id=transform-attribute-specificity><span class=secno>7.1. </span>SVG
10921092
overrides the &lsquo;<a href="#effects"><code class=css><code
10931093
class=property>transform</code></code></a>&rsquo; presentation attribute.
10941094
Therefore the container gets translated by &lsquo;<code class=css><code
1095-
class=css>100px</code></code>&rsquo; in horizontal and vertical
1096-
direction, instead of &lsquo;<code class=css><code
1095+
class=css>100px</code></code>&rsquo; in both the horizontal and the
1096+
vertical directions, instead of &lsquo;<code class=css><code
10971097
class=css>200px</code></code>&rsquo;.</p>
10981098
</div>
10991099

11001100
<h3 id=svg-syntax><span class=secno>7.2. </span>Syntax of the SVG &lsquo;<a
11011101
href="#effects"><code class=css><code
11021102
class=property>transform</code></code></a>&rsquo; attribute</h3>
11031103

1104-
<p> To provide backward compatibility, the syntax of the &lsquo;<a
1104+
<p> To provide backwards compatibility, the syntax of the &lsquo;<a
11051105
href="#effects"><code class=css><code
11061106
class=property>transform</code></code></a>&rsquo; presentation attribute
11071107
differs from the syntax of the &lsquo;<a href="#effects"><code
11081108
class=css><code class=property>transform</code></code></a>&rsquo; style
1109-
property like shown in the example above. However, the syntax used for the
1109+
property as shown in the example above. However, the syntax used for the
11101110
&lsquo;<a href="#effects"><code class=css><code
11111111
class=property>transform</code></code></a>&rsquo; style property can be
11121112
used for a &lsquo;<a href="#effects"><code class=css><code
@@ -1126,30 +1126,31 @@ <h4 id=svg-transform-list><span class=secno>7.2.1. </span>Transform List</h4>
11261126

11271127
<p> The value for the &lsquo;<a href="#effects"><code class=css><code
11281128
class=property>transform</code></code></a>&rsquo; attribute consists of a
1129-
transform list with zero or more transform functions in the <a
1129+
transform list with zero or more transform functions using <a
11301130
href="#svg-functional-notation">functional notation</a>. If the transform
11311131
list consists of more than one transform function, these functions are
11321132
separated by either a comma (‘<code class=css>,</code>’) with optional
1133-
whitespace before and after the comma or one or more whitespaces. The
1134-
transform list can have optional whitespaces before and after the list.
1133+
whitespace characters before and after the comma, or by one or more
1134+
whitespace characters. The transform list can have optional whitespace
1135+
characters before and after the list.
11351136

11361137
<h4 id=svg-functional-notation><span class=secno>7.2.2. </span>Functional
1137-
Notations</h4>
1138+
Notation</h4>
11381139

11391140
<p> The syntax starts with the name of the function followed by optional
1140-
whitespaces followed by a left parenthesis followed by optional whitespace
1141-
followed by the argument(s) to the notation followed by optional
1142-
whitespace followed by a right parenthesis. If a function takes more than
1143-
one argument, the arguments are either separated by a comma (‘<code
1144-
class=css>,</code>’) with optional whitespace before and after the comma
1145-
or one or more whitespaces.
1141+
whitespace characters followed by a left parenthesis followed by optional
1142+
whitespace followed by the argument(s) to the notation followed by
1143+
optional whitespace followed by a right parenthesis. If a function takes
1144+
more than one argument, the arguments are either separated by a comma
1145+
(‘<code class=css>,</code>’) with optional whitespace characters
1146+
before and after the comma, or by one or more whitespace characters.
11461147

11471148
<h4 id=svg-data-types><span class=secno>7.2.3. </span>SVG Data Types</h4>
11481149

1149-
<p> Arguments of transform functions consists of data types in the sense of
1150+
<p> Arguments of transform functions consist of data types in the sense of
11501151
<a href="http://www.w3.org/TR/css3-values/#functional-notation">CSS Values
11511152
and Units Module</a>. The definitions of data types in CSS Values and
1152-
Units Module gets enhanced as follows:
1153+
Units Module are enhanced as follows:
11531154

11541155
<h5 id=svg-transform-value><span class=secno>7.2.3.1. </span>The
11551156
<var>&lt;translation-value&gt;</var> and <var>&lt;length&gt;</var> type</h5>
@@ -1159,8 +1160,8 @@ <h5 id=svg-transform-value><span class=secno>7.2.3.1. </span>The
11591160
href="#svg-number"><var>number</var></a> gets interpreted as "user unit".
11601161
A user unit in the the <a
11611162
href="http://www.w3.org/TR/2003/REC-SVG11-20030114/coords.html#InitialCoordinateSystem">initial
1162-
coordinate system</a> is equivalenced to the parent environment's notion
1163-
of a pixel unit.
1163+
coordinate system</a> is equivalent to the parent environment's notion of
1164+
a pixel unit.
11641165

11651166
<h5 id=svg-angle><span class=secno>7.2.3.2. </span>The
11661167
<var>&lt;angle&gt;</var> type</h5>
@@ -1184,25 +1185,26 @@ <h3 id=svg-gradient-transform-pattern-transform><span class=secno>7.3.
11841185
<p> SVG specifies the attributes &lsquo;<code
11851186
class=property>gradientTransform</code>&rsquo; and &lsquo;<code
11861187
class=property>patternTransform</code>&rsquo;. This specification makes
1187-
both attributes to presentation attributes. Both attributes use the same
1188-
<a href="#svg-syntax">syntax</a> as the SVG &lsquo;<a
1189-
href="#effects"><code class=css><code
1190-
class=property>transform</code></code></a>&rsquo; attribute. This
1191-
specification won't introduce corresponding CSS style properties. Instead
1192-
the style can be set by the &lsquo;<a href="#effects"><code
1193-
class=css><code class=property>transform</code></code></a>&rsquo; style
1194-
property.
1188+
both attributes presentation attributes. Both attributes use the same <a
1189+
href="#svg-syntax">syntax</a> as the SVG &lsquo;<a href="#effects"><code
1190+
class=css><code class=property>transform</code></code></a>&rsquo;
1191+
attribute. This specification does not introduce corresponding CSS style
1192+
properties. Both, the &lsquo;<code
1193+
class=property>gradientTransform</code>&rsquo; and the &lsquo;<code
1194+
class=property>patternTransform</code>&rsquo; attribute, are presentation
1195+
attributes for the &lsquo;<a href="#effects"><code
1196+
class=property>transform</code></a>&rsquo; property.
11951197

11961198
<h3 id=svg-transformation-functions><span class=secno>7.4. </span>SVG
11971199
transformation functions</h3>
11981200

1199-
<p> For backward compatibility to existing SVG content, this specification
1200-
must support all transform functions defined by <a
1201+
<p> For backwards compatibility with existing SVG content, this
1202+
specification supports all transform functions defined by <a
12011203
href="http://www.w3.org/TR/SVG/coords.html#TransformAttribute">The
12021204
&lsquo;<code class=css><code class=property>transform</code></code>&rsquo;
12031205
attribute</a> in SVG 1.1. Therefore the two-dimensional transform function
12041206
&lsquo;<code class=css><code
1205-
class=css>rotate(&lt;angle&gt;)</code></code>&rsquo; gets extended as
1207+
class=css>rotate(&lt;angle&gt;)</code></code>&rsquo; is extended as
12061208
follows:
12071209

12081210
<dl>
@@ -1228,8 +1230,8 @@ <h3 id=svg-transformation-functions><span class=secno>7.4. </span>SVG
12281230
<h3 id=svg-three-dimensional-functions><span class=secno>7.5. </span>SVG
12291231
and 3D transformation functions</h3>
12301232

1231-
<p> This specification explicitly allows to apply three-dimensional
1232-
transform functions to the <a
1233+
<p> This specification explicitly requires three-dimensional transform
1234+
functions to apply to the <a
12331235
href="http://www.w3.org/TR/SVG/intro.html#TermContainerElement"><em>container
12341236
elements</em></a>: &lsquo;<code class=property>a</code>&rsquo;,
12351237
&lsquo;<code class=property>g</code>&rsquo;, &lsquo;<code
@@ -1271,17 +1273,17 @@ <h3 id=svg-object-bounding-box><span class=secno>7.6. </span>Object
12711273
bounding box units</h3>
12721274

12731275
<p> Percentage or fractional values in SVG are either relative to the
1274-
elements viewport units or to the elements <a
1276+
elements viewport units or to the element's <a
12751277
href="http://www.w3.org/TR/SVG/coords.html#ObjectBoundingBoxUnits">object
1276-
bounding box units</a> like specified in SVG 1.1. To align with HTML, all
1278+
bounding box units</a> as specified in SVG 1.1. To align with HTML, all
12771279
percentage values for all properties defined in this specification are
12781280
relative to the object bounding box units.
12791281

1280-
<p> If an SVG element does not provide an object bounding box (like for the
1282+
<p> If an SVG element does not provide a bounding box (like for the
12811283
&lsquo;<code class=property>pattern</code>&rsquo;, &lsquo;<code
12821284
class=property>mask</code>&rsquo; or &lsquo;<code
1283-
class=property>clipPath</code>&rsquo; elements), the bounding box is the
1284-
same like if the position x, y and the dimensions width and height are
1285+
class=property>clipPath</code>&rsquo; elements), the bounding box is
1286+
treated as if the position x, y and the dimensions width and height are
12851287
zero. Percentage values or keywords won't affect the rendering and are
12861288
treated as if zero was specified.
12871289

@@ -1294,7 +1296,7 @@ <h3 id=svg-object-bounding-box><span class=secno>7.6. </span>Object
12941296
class=css><code class=property>transform</code></code></a>&rsquo;
12951297
property specifies a translation as well, but in absolute lengths.</p>
12961298

1297-
<pre>&lt;svg&gt;
1299+
<pre>&lt;svg xmlns="http://www.w3.org/2000/svg"&gt;
12981300
&lt;style&gt;
12991301
pattern {
13001302
transform: translate(50px, 50px) rotate(45deg);
@@ -1311,14 +1313,14 @@ <h3 id=svg-object-bounding-box><span class=secno>7.6. </span>Object
13111313
&lt;rect width="100" height="100" fill="url(#pattern-1)" /&gt;
13121314
&lt;/svg&gt;</pre>
13131315

1314-
<p> A SVG &lsquo;<code class=property>pattern</code>&rsquo; element
1315-
doesn't have an object bounding box. Therefore the relative values of the
1316+
<p> An SVG &lsquo;<code class=property>pattern</code>&rsquo; element
1317+
doesn't have a bounding box. Therefore the relative values of the
13161318
&lsquo;<a href="#transform-origin"><code class=css><code
13171319
class=property>transform-origin</code></code></a>&rsquo; property don't
13181320
affect the rendering and are treated as if zero was specified. The
13191321
translation on the &lsquo;<a href="#effects"><code class=css><code
13201322
class=property>transform</code></code></a>&rsquo; property is in absolute
1321-
coordinates and translate the coordinate system by 50 pixel in each
1323+
coordinates and translate the coordinate system by 50 pixels in each
13221324
direction.</p>
13231325
</div>
13241326

@@ -1329,9 +1331,12 @@ <h3 id=transform-attribute-dom><span class=secno>7.7. </span>SVG DOM
13291331
<p> The SVG specification defines the &lsquo;<code class=css><a
13301332
href="http://www.w3.org/TR/2011/REC-SVG11-20110816/coords.html#InterfaceSVGAnimatedTransformList"><code
13311333
class=property>SVGAnimatedTransformList</code></a></code>&rsquo; interface
1332-
in SVG DOM to access the animated and the base value of the SVG transform
1333-
attribute. To ensure backwards compatibility, this API must still be
1334-
supported by user agents.
1334+
in the SVG DOM to provide access to the animated and the base value of the
1335+
SVG &lsquo;<a href="#effects"><code
1336+
class=property>transform</code></a>&rsquo;, &lsquo;<code
1337+
class=property>gradientTransform</code>&rsquo; and &lsquo;<code
1338+
class=property>patternTransform</code>&rsquo; attributes. To ensure
1339+
backwards compatibility, this API must still be supported by user agents.
13351340

13361341
<p> The &lsquo;<a href="#effects"><code class=css><code
13371342
class=property>transform</code></code></a>&rsquo; property contributes to
@@ -1343,7 +1348,7 @@ <h3 id=transform-attribute-dom><span class=secno>7.7. </span>SVG DOM
13431348
possibility to access and modify the values of the SVG &lsquo;<a
13441349
href="#effects"><code class=css><code
13451350
class=property>transform</code></code></a>&rsquo; attribute. To provide
1346-
the necessary backward compatibility to SVG DOM, &lsquo;<code
1351+
the necessary backwards compatibility to the SVG DOM, &lsquo;<code
13471352
class=css><code class=property>baseVal</code></code>&rsquo; must reflect
13481353
the values of this author style sheet. All modifications to SVG DOM
13491354
objects of &lsquo;<code class=css><code
@@ -1384,9 +1389,10 @@ <h4 id=svg-animate-element><span class=secno>7.8.1. </span>The SVG
13841389
&lsquo;<code class=property>animate</code>&rsquo; and &lsquo;<code
13851390
class=property>set</code>&rsquo; element</h4>
13861391

1387-
<p> The SVG 1.1 specification did not define animations of the &lsquo;<a
1392+
<p> The SVG 1.1 specification did not allow animations of the &lsquo;<a
13881393
href="#effects"><code class=css><code
1389-
class=property>transform</code></code></a>&rsquo; attribute for the SVG <a
1394+
class=property>transform</code></code></a>&rsquo; attribute using the SVG
1395+
<a
13901396
href="http://www.w3.org/TR/SVG/animate.html#AnimateElement">&lsquo;<code
13911397
class=property>animate</code>&rsquo;</a> element or the SVG <a
13921398
href="http://www.w3.org/TR/SVG/animate.html#SetElement">&lsquo;<code
@@ -1453,7 +1459,7 @@ <h4 id=svg-attribute-type><span class=secno>7.8.3. </span>The SVG
14531459
class=css>auto</code></code>&rsquo;, where &lsquo;<code class=css><code
14541460
class=css>auto</code></code>&rsquo; is the default value.
14551461

1456-
<p> However, in the combination with the &lsquo;<a href="#effects"><code
1462+
<p> However, in combination with the &lsquo;<a href="#effects"><code
14571463
class=css><code class=property>transform</code></code></a>&rsquo;,
14581464
&lsquo;<code class=property>patternTransform</code>&rsquo; and
14591465
&lsquo;<code class=property>gradientTransform</code>&rsquo; presentation

0 commit comments

Comments
 (0)