- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Thu, 17 Apr 2014 02:57:48 -0700
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2/rev/7660e64b1971 branches: changeset: 667:7660e64b1971 user: Erik Dahlstrom <ed@opera.com> date: Thu Apr 17 11:54:59 2014 +0200 description: Clarifications for width/height presentation attributes. diffstat: master/styling.html | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diffs (62 lines): diff --git a/master/styling.html b/master/styling.html --- a/master/styling.html +++ b/master/styling.html @@ -1076,17 +1076,17 @@ descendants.</p> <td><a><percentage></a> | <a><length></a> | auto</td> </tr> <tr> <td>Initial:</td> <td>auto</td> </tr> <tr> <td>Applies to:</td> - <td>all elements but non-replaced inline elements, table rows, and row groups, in SVG: the <a>'foreignObject'</a> element</td> + <td>all elements but non-replaced inline elements, table rows, and row groups, in SVG: the <a>'foreignObject'</a> and <a>'svg'</a> elements</td> </tr> <tr> <td>Inherited:</td> <td>no</td> </tr> <tr> <td>Percentages:</td> <td>refer to width of containing block</td> @@ -1123,17 +1123,17 @@ descendants.</p> <td><a><percentage></a> | <a><length></a> | auto</td> </tr> <tr> <td>Initial:</td> <td>auto</td> </tr> <tr> <td>Applies to:</td> - <td>all elements but non-replaced inline elements, table columns, and column groups, in SVG: the <a>'foreignObject'</a> element</td> + <td>all elements but non-replaced inline elements, table columns, and column groups, in SVG: the <a>'foreignObject'</a> and <a>'svg'</a> elements</td> </tr> <tr> <td>Inherited:</td> <td>no</td> </tr> <tr> <td>Percentages:</td> <td><a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#the-height-property">see prose</a></td> @@ -1155,16 +1155,20 @@ descendants.</p> <p class="note"> Except for any additional information provided in this specification, the <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#the-height-property">normative definition of the <span class="property-name">'height'</span> property</a> is in CSS 2.1 ([<a href="refs.html#ref-CSS21">CSS21</a>], section 10.5). </p> + <p>For backwards compatibility, when the <a>'width'</a> or <a>'height'</a> properties are specified as a presentation attributes, only the + values that match the <a><length></a> production shall be mapped to CSS. Any other value must be treated as <a>invalid</a>. + </p> + <p class="issue">Is there a need to define 'auto' in more detail specifically for svg/foreignObject?</p> <p class="issue">As part of unifying HTML's and SVG's <span class="element-name">'style'</span> element, we should allow and mention scoped style sheets here.</p> <h2 id='UAStyleSheet'>User agent style sheet</h2>
Received on Thursday, 17 April 2014 09:58:26 UTC