- From: <bugzilla@jessica.w3.org>
- Date: Sat, 11 May 2013 21:06:35 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22008 --- Comment #2 from Jukka K. Korpela <jukka.k.korpela@kolumbus.fi> --- (In reply to comment #1) > Could you give an example of valid attributes in HTML 4.01 not separated by > at least one whitespace character? <p class="foo"id="bar"> > Clearly this wouldn't work in the case of unquoted or valueless attributes, > but even in the case of quoted value attributes, whitespace separation is > required by [1]: > > "Any number of (legal) attribute value pairs, separated by spaces, may > appear in an element's start tag." This is one of the cases where HTML 4.01 does not paint an accurate picture of SGML. That text is not normative; the normative reference is to SGML. And while the SGML standard is exceptionally vague in this issue, it seems to mean that a space is not needed after a delimiter. And that's how the W3C validator works, and so do browsers. But HTML5 sets a different rule – an improvement, I would say, since <p class="foo"id="bar"> is mildly confusing. The most important thing is that there is a change from HTML 4.01, and existing documents may become invalid. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Saturday, 11 May 2013 21:06:39 UTC