Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
spec:reviews:html5 [2011/08/03 15:34] – [Normative references to CSS editors' drafts] fantasaispec:reviews:html5 [2014/12/09 15:48] (current) – external edit 127.0.0.1
Line 160: Line 160:
 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 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
  
-  body [color: green}+  body {color: green}
   BODY {color: blue}   BODY {color: blue}
  
 makes XHTML documents green and HTML ones blue. makes XHTML documents green and HTML ones blue.
 +
 +**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.
  
 === Pseudo-namespaces in HTML === === Pseudo-namespaces in HTML ===
 
spec/reviews/html5.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki