Skip to content

Commit 074bc19

Browse files
committed
spec/reviews/html5: [Attribute value normalization is not backwards compatible]
1 parent 82eb379 commit 074bc19

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

spec/reviews/html5.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,13 @@ If it is necessary, e.g., for transport reasons, to combine several resources in
159159

160160
Chapter 10 on rendering seems to say that elements and attributes are matched against CSS selectors in a case-insensitive way, even if the document is in XML. (The chapter itself is not normative, but I assume it says that because there is corresponding normative text somewhere else.) That contradicts XML. It also breaks existing style sheets, e.g., user style sheets that rely on the fact that
161161

162-
body [color: green}
162+
body {color: green}
163163
BODY {color: blue}
164164

165165
makes XHTML documents green and HTML ones blue.
166166

167+
**Anne notes** that this comment is incorrect, that the case-insensitivity only applies to attribute values and only for the rules listed in that section as UA style rules.
168+
167169
=== Pseudo-namespaces in HTML ===
168170

169171
That same chapter 10 also seems to say that

0 commit comments

Comments
 (0)