W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > March 2011

[Bug 11526] newlines in attribute values

From: <bugzilla@jessica.w3.org>
Date: Tue, 01 Mar 2011 23:29:36 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PuZ0a-0001pE-NI@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11526

Eliot Graff <eliotgra@microsoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Eliot Graff <eliotgra@microsoft.com> 2011-03-01 23:29:36 UTC ---
The Editor's Draft of 1 March contains the following changes:

***Removed the newlines from the example document (both within the spec and the
standalone version at
http://dev.w3.org/html5/html-xhtml-author-guide/SamplePage.html)

***Added the following sentence to Section 7, Attributes:
]]
Polyglot markup does not use newline characters within an attribute. 
[[

***Added the following note to Section 7, Attributes:
]]
Because of attribute-value normalization in XML [XML10], polyglot markup does
not use newline characters within an attribute. Practically speaking, for
source code with newlines within attributes, DOMs generated via XML and HTML
will be different; however, whitespace differences have no behavioral impact on
the page unless explicitly examined by JavaScript, rendering the differences of
small consequence. Note that newlines are overtly not allowed in the title
attribute or in any attribute containing a URI. 
[[

I believe that this satisfies the requests in this bug, while maintaining the
integrity of polyglot's definition, so I am resolving it as fixed.

Thank you both for working through this with me.

Eliot

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 1 March 2011 23:29:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 March 2011 23:29:46 GMT