ISSUE-2447: Define if attribute values (in particular numerical attributes) are allowed to have leading and/or trailing whitespace (e.g x=" 10" interpreted as 10 and not as an error)

attribute_whitespace

Define if attribute values (in particular numerical attributes) are allowed to have leading and/or trailing whitespace (e.g x=" 10" interpreted as 10 and not as an error)

State:
RAISED
Product:
SVG 2
Raised by:
Erik Dahlström
Opened on:
2013-03-28
Description:
Should whitespace be trimmed in attribute values per default unless anything else is stated?

Testcase for feColorMatrix@values: http://oldgeeksguide.github.io/bugs/chrome/svg-fecolormatrix/index.html

From html5[1] a selection of attributes where surrounding whitespace is allowed (stripped away): srcset, accept, accept-charset, action, all integer values, all floating point values, url values
From html5 a selection of attributes where surrounding whitespace is explicitly forbidden: all Boolean attributes, all enumerated attributes

Relates to http://code.google.com/p/chromium/issues/detail?id=339899

[1] http://www.w3.org/TR/html5/index.html#attributes-1
Related Actions Items:
Related emails:
  1. RE: agenda, 20 February 2014 SVG WG telcon (from Thomas.O.Smailus@boeing.com on 2014-02-25)
  2. SVG WG Meeting Minutes 2014-02-20 (from bbirtles@mozilla.com on 2014-02-21)
  3. agenda, 20 February 2014 SVG WG telcon (from cam@mcc.id.au on 2014-02-20)
  4. Re: Agenda, 13 February 2014 SVG WG telcon (from cam@mcc.id.au on 2014-02-13)
  5. Agenda, 13 February 2014 SVG WG telcon (from ed@opera.com on 2014-02-12)
  6. ISSUE-2447: Define if attribute values (in particular numerical attributes) are allowed to have leading and/or trailing whitespace (e.g x=" 10" interpreted as 10 and not as an error) (from sysbot+tracker@w3.org on 2013-03-28)

Related notes:

No additional notes.

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: 2447.html,v 1.1 2020/01/17 13:22:03 carcone Exp $