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:
ACTION-3609 on Erik Dahlström to Update attribute parsing according to these resolutions - due 2014-04-14, closed- Related emails:
- RE: agenda, 20 February 2014 SVG WG telcon (from Thomas.O.Smailus@boeing.com on 2014-02-25)
- SVG WG Meeting Minutes 2014-02-20 (from bbirtles@mozilla.com on 2014-02-21)
- agenda, 20 February 2014 SVG WG telcon (from cam@mcc.id.au on 2014-02-20)
- Re: Agenda, 13 February 2014 SVG WG telcon (from cam@mcc.id.au on 2014-02-13)
- Agenda, 13 February 2014 SVG WG telcon (from ed@opera.com on 2014-02-12)
- 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