ISSUE-2351: Last Call Comment: Clarify that units are required on <length>s in style attribute; fix examples in text.
CSS Required Units
Last Call Comment: Clarify that units are required on <length>s in style attribute; fix examples in text.
- State:
- RAISED
- Product:
- SVG 1.1 F2 Last Call
- Raised by:
- Tavmjong Bah
- Opened on:
- 2010-07-14
- Description:
- It is not clear that the style attribute syntax follows that for CSS and thus units are required for <length> values (other than 0). This is further confused by examples in sections 6.6 and 7.10 where units are incorrectly left out. Units are also incorrectly left out in 6.6 style sheet examples (stroke-width).
- Related Actions Items:
ACTION-2909 on Tavmjong Bah to Make suggested edits to the specification that address ISSUE-2351 - due 2010-11-25, closed- Related emails:
- SVG/profiles/1.1F2/DoC disco.xsl,1.4,1.5 dump.html,1.3,1.4 (from cvsmail@w3.org on 2011-05-04)
- Re: {minutes} 9 December 2010 SVG WG telcon (from chris@w3.org on 2010-12-10)
- SVG/profiles/1.1F2/master coords.html,1.18,1.19 styling.html,1.26,1.27 types.html,1.27,1.28 (from cvsmail@w3.org on 2010-12-06)
- status update (from cam@mcc.id.au on 2010-11-25)
- Agenda Nov 18 2010 SVG WG telcon (from ed@opera.com on 2010-11-17)
- SVG/profiles/1.1F2/DoC getxml.html,NONE,1.1 disco.xsl,1.3,1.4 dump.html,1.2,1.3 dump.xml,1.1,NONE (from cvsmail@w3.org on 2010-08-02)
- SVG/profiles/1.1F2/DoC disco.xsl,1.2,1.3 dump.html,1.1,1.2 (from cvsmail@w3.org on 2010-07-29)
- Re: Fwd: Proposed changes for units. (from ed@opera.com on 2010-07-20)
- Fwd: Proposed changes for units. (from ed@opera.com on 2010-07-20)
- ISSUE-2351 (Tav): Clarify that units are required on <length>s in style attribute; fix examples in text. [SVG 1.1 F2 Last Call] (from sysbot+tracker@w3.org on 2010-07-14)
Related notes:
After some discussion on the www-svg mailing list, it can be concluded that the examples in 6.6 are correct as the parameter in question ('stroke-width') is not a CSS defined property and thus does not need a unit. The example in 7.10 is wrong as 'font-size' is a CSS defined property and its use in a 'style' attribute requires a unit.
ACTION: Accept
Erik Dahlström, 9 Dec 2010, 13:00:33CHANGE-TYPE: Substantive
Erik Dahlström, 9 Dec 2010, 13:01:11RESOLUTION: Accept the proposed clarifications (with minor modifications) as outlined in http://www.w3.org/mid/op.vf42mrbqgeuyw5%2540localhost and http://www.w3.org/mid/op.vf49fvxjgeuyw5%2540localhost.
Erik Dahlström, 9 Dec 2010, 13:02:18Changes made to text as per agreed at teleconference. Issue raised by me... I guess I approve own changes.
COMMENTER-RESPONSE: Accept
Erik Dahlström, 9 Dec 2010, 20:23:10Display change log