- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 07 Feb 2012 15:58:36 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-hierarchies In directory hutz:/tmp/cvs-serv15007 Modified Files: Overview.html Overview.src.html Log Message: Add issue about & requiring either escaping or CDATA in XML. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-hierarchies/Overview.html,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- Overview.html 7 Feb 2012 15:52:10 -0000 1.15 +++ Overview.html 7 Feb 2012 15:58:34 -0000 1.16 @@ -281,6 +281,11 @@ nesting selector. The nesting selector represents the elements matched by the parent rule set's selector list. + <p class=issue>Introducing the ‘<code class=css>&</code>’ + character will cause issues with CSS embedded directly in XML, as it's the + first character used in CSS syntax that either requires escaping or using + CDATA. Do we need to change this? + <div class=example> <p>The following example using Hierarchies: Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-hierarchies/Overview.src.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- Overview.src.html 7 Feb 2012 15:52:10 -0000 1.16 +++ Overview.src.html 7 Feb 2012 15:58:34 -0000 1.17 @@ -162,7 +162,9 @@ <p>This specification provides a mechanism that allows for the nesting of style rules within other style rules. A nested style rule can used anywhere that a declaration can be used.</p> - <p>In order to accomplish nesting, this specification defines a new simple selector called the nesting selector, represented in selectors by the '&' character. All complex selectors in the selector lists of nested rule sets must start with the nesting selector. The nesting selector represents the elements matched by the parent rule set's selector list. + <p>In order to accomplish nesting, this specification defines a new simple selector called the nesting selector, represented in selectors by the '&' character. All complex selectors in the selector lists of nested rule sets must start with the nesting selector. The nesting selector represents the elements matched by the parent rule set's selector list.</p> + + <p class='issue'>Introducing the ''&'' character will cause issues with CSS embedded directly in XML, as it's the first character used in CSS syntax that either requires escaping or using CDATA. Do we need to change this?</p> <div class='example'> <p>The following example using Hierarchies:
Received on Tuesday, 7 February 2012 16:00:41 UTC