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:
Related emails:
  1. 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)
  2. Re: {minutes} 9 December 2010 SVG WG telcon (from chris@w3.org on 2010-12-10)
  3. 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)
  4. status update (from cam@mcc.id.au on 2010-11-25)
  5. Agenda Nov 18 2010 SVG WG telcon (from ed@opera.com on 2010-11-17)
  6. 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)
  7. 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)
  8. Re: Fwd: Proposed changes for units. (from ed@opera.com on 2010-07-20)
  9. Fwd: Proposed changes for units. (from ed@opera.com on 2010-07-20)
  10. 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.

Tavmjong Bah, 16 Jul 2010, 12:52:08

ACTION: Accept

Erik Dahlström, 9 Dec 2010, 13:00:33

CHANGE-TYPE: Substantive

Erik Dahlström, 9 Dec 2010, 13:01:11

RESOLUTION: 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:18

Changes made to text as per agreed at teleconference. Issue raised by me... I guess I approve own changes.

Tavmjong Bah, 9 Dec 2010, 20:00:47

COMMENTER-RESPONSE: Accept

Erik Dahlström, 9 Dec 2010, 20:23:10

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2351.html,v 1.1 2020/01/17 13:21:23 carcone Exp $