[Bug 22008] Make it clear that there are syntax differences, add one about id attribute

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22008

Simon Pieters <simonp@opera.com> changed:

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

--- Comment #6 from Simon Pieters <simonp@opera.com> ---
(In reply to comment #0)
> At the start of clause “2 Syntax”, the statement “HTML defines an HTML
> syntax that is compatible with HTML4 and XHTML1 documents published on the
> Web” should be less absolute, e.g. the word “mostly” could be added before
> “compatible”. In subclause 2.4, e.g. “Attributes have to be separated by at
> least one whitespace character” means that some valid and existing HTML 4.01
> documents are not valid HTML5.

https://github.com/whatwg/html-differences/commit/bdff30f0952172f091c0a8ff0b6c1c0aee41ece6

> The following information should be added to subclause 2.4:
> 
> The id attribute syntax now allows any nonempty string that does not contain
> space characters. This is much more liberal than the HTML 4 syntax, but on
> the other hand it disallows spaces at the start and at the end (id=" foo "
> is valid HTML 4 but not valid HTML5).

This is mentioned elsewhere:

"The id global attribute is now allowed to have any value, as long as it is
unique, is not the empty string, and does not contain space characters."
http://html-differences.whatwg.org/#changed-attributes

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 13 May 2013 15:29:30 UTC