Skip to content

Commit d89a754

Browse files
committed
[transforms][Bug 17239] Tweak definition of 'transformable element' to allow for elements not in the HTML namespace.
1 parent cfa47a0 commit d89a754

2 files changed

Lines changed: 57 additions & 42 deletions

File tree

css3-transforms/Overview.html

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -465,23 +465,29 @@ <h2 id=definitions><span class=secno>4. </span>Definitions</h2>
465465
id=transformable-element>transformable element</dfn>
466466

467467
<dd>
468-
<p> A transformable element is an element in the HTML namespace which is
469-
either a <a
470-
href="http://www.w3.org/TR/CSS2/visuren.html#block-level">block-level</a>
471-
or <a href="http://www.w3.org/TR/CSS2/visuren.html#x13">atomic
472-
inline-level element</a>, or whose ‘<code
473-
class=property>display</code>’ property computes to ‘<code
474-
class=css>table-row</code>’, ‘<code
475-
class=css>table-row-group</code>’, ‘<code
476-
class=css>table-header-group</code>’, ‘<code
477-
class=css>table-footer-group</code>’, ‘<code
478-
class=css>table-cell</code>’, or ‘<code
479-
class=css>table-caption</code>’; or an element in the SVG namespace
480-
(see <a href="#SVG11" rel=biblioentry>[SVG11]<!--{{SVG11}}--></a>) which
481-
has the attributes ‘<a href="#effects"><code
482-
class=property>transform</code></a>’, ‘<code
483-
class=property>patternTransform</code>’ or ‘<code
484-
class=property>gradientTransform</code>’.
468+
<p> A transformable element is an element in one of these categories:
469+
470+
<ul>
471+
<li> an element whose layout is governed by the CSS box model which is
472+
either a <a
473+
href="http://www.w3.org/TR/CSS2/visuren.html#block-level">block-level</a>
474+
or <a href="http://www.w3.org/TR/CSS2/visuren.html#x13">atomic
475+
inline-level element</a>, or whose ‘<code
476+
class=property>display</code>’ property computes to ‘<code
477+
class=css>table-row</code>’, ‘<code
478+
class=css>table-row-group</code>’, ‘<code
479+
class=css>table-header-group</code>’, ‘<code
480+
class=css>table-footer-group</code>’, ‘<code
481+
class=css>table-cell</code>’, or ‘<code
482+
class=css>table-caption</code><a href="#CSS21"
483+
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
484+
485+
<li> an element in the SVG namespace which has the attributes ‘<a
486+
href="#effects"><code class=property>transform</code></a>’, ‘<code
487+
class=property>patternTransform</code>’ or ‘<code
488+
class=property>gradientTransform</code><a href="#SVG11"
489+
rel=biblioentry>[SVG11]<!--{{!SVG11}}--></a>
490+
</ul>
485491

486492
<dt id=TermLocalCoordinateSystem><dfn id=local-coordinate-system>local
487493
coordinate system</dfn>
@@ -3278,6 +3284,16 @@ <h3 class=no-num id=normative-references>Normative references</h3>
32783284
href="http://www.w3.org/TR/2012/CR-css3-background-20120724/">http://www.w3.org/TR/2012/CR-css3-background-20120724/</a>
32793285
</dd>
32803286
<!---->
3287+
3288+
<dt id=SVG11>[SVG11]
3289+
3290+
<dd>Erik Dahlström; et al. <a
3291+
href="http://www.w3.org/TR/2011/REC-SVG11-20110816/"><cite>Scalable
3292+
Vector Graphics (SVG) 1.1 (Second Edition).</cite></a> 16 August 2011.
3293+
W3C Recommendation. URL: <a
3294+
href="http://www.w3.org/TR/2011/REC-SVG11-20110816/">http://www.w3.org/TR/2011/REC-SVG11-20110816/</a>
3295+
</dd>
3296+
<!---->
32813297
</dl>
32823298
<!--end-normative-->
32833299

@@ -3298,16 +3314,6 @@ <h3 class=no-num id=other-references>Other references</h3>
32983314
href="http://www.w3.org/TR/2008/REC-SMIL3-20081201/">http://www.w3.org/TR/2008/REC-SMIL3-20081201/</a>
32993315
</dd>
33003316
<!---->
3301-
3302-
<dt id=SVG11>[SVG11]
3303-
3304-
<dd>Erik Dahlström; et al. <a
3305-
href="http://www.w3.org/TR/2011/REC-SVG11-20110816/"><cite>Scalable
3306-
Vector Graphics (SVG) 1.1 (Second Edition).</cite></a> 16 August 2011.
3307-
W3C Recommendation. URL: <a
3308-
href="http://www.w3.org/TR/2011/REC-SVG11-20110816/">http://www.w3.org/TR/2011/REC-SVG11-20110816/</a>
3309-
</dd>
3310-
<!---->
33113317
</dl>
33123318
<!--end-informative-->
33133319

css3-transforms/Transforms.src.html

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -189,22 +189,31 @@ <h2 id="definitions">Definitions</h2>
189189
<dt id="TermTransformableElement"><dfn>transformable element</dfn></dt>
190190
<dd>
191191
<p>
192-
A transformable element is an element in the HTML namespace
193-
which is either a
194-
<a href="http://www.w3.org/TR/CSS2/visuren.html#block-level">block-level</a>
195-
or
196-
<a href="http://www.w3.org/TR/CSS2/visuren.html#x13">atomic inline-level element</a>,
197-
or whose 'display' property
198-
computes to ''table-row'',
199-
''table-row-group'',
200-
''table-header-group'',
201-
''table-footer-group'',
202-
''table-cell'', or
203-
''table-caption''; or an element in the
204-
SVG namespace (see [[SVG11]]) which has the attributes
205-
'transform', 'patternTransform'
206-
or 'gradientTransform'.
192+
A transformable element is an element in one of these
193+
categories:
207194
</p>
195+
<ul>
196+
<li>
197+
an element whose
198+
layout is governed by the CSS box model which is either
199+
a
200+
<a href="http://www.w3.org/TR/CSS2/visuren.html#block-level">block-level</a>
201+
or
202+
<a href="http://www.w3.org/TR/CSS2/visuren.html#x13">atomic inline-level element</a>,
203+
or whose 'display' property
204+
computes to ''table-row'',
205+
''table-row-group'',
206+
''table-header-group'',
207+
''table-footer-group'',
208+
''table-cell'', or
209+
''table-caption'' [[!CSS21]]
210+
</li>
211+
<li>
212+
an element in the SVG namespace which has the attributes
213+
'transform', 'patternTransform' or 'gradientTransform'
214+
[[!SVG11]]
215+
</li>
216+
</ul>
208217
</dd>
209218

210219
<dt id="TermLocalCoordinateSystem"><dfn>local coordinate system</dfn></dt>

0 commit comments

Comments
 (0)