- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 25 Jul 2011 18:44:47 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/selectors4 In directory hutz:/tmp/cvs-serv14265 Modified Files: Overview.html Overview.src.html Log Message: Put case-insensitive flag inside attr selector per <http://lists.w3.org/Archives/Public/www-style/2011Jul/0440.html> Index: Overview.html =================================================================== RCS file: /sources/public/csswg/selectors4/Overview.html,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- Overview.html 25 Jul 2011 16:54:31 -0000 1.37 +++ Overview.html 25 Jul 2011 18:44:45 -0000 1.38 @@ -1461,9 +1461,9 @@ <p>By default case-sensitivity of attribute names and values in selectors depends on the document language. To match attribute values case-insensitively regardless of document language rules, the attribute - selector may be immediately followed by the identifier <code>i</code>. - When this flag is present, UAs must match the attribute's value - case-insensitively within the ASCII range. + selector may include the identifier <code>i</code> immediately inside the + closing bracket (<code>]</code>). When this flag is present, UAs must + match the attribute's value case-insensitively within the ASCII range. <div class=example> <p>The following rule will style the <code>frame</code> attribute when it @@ -1472,7 +1472,7 @@ in an XML environment where attribute values are case-sensitive. <pre> -<!-- -->[frame=hsides]i { border-style: solid none; } +<!-- -->[frame=hsides i] { border-style: solid none; } </pre> </div> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/selectors4/Overview.src.html,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- Overview.src.html 25 Jul 2011 16:54:31 -0000 1.39 +++ Overview.src.html 25 Jul 2011 18:44:45 -0000 1.40 @@ -981,9 +981,10 @@ <p>By default case-sensitivity of attribute names and values in selectors depends on the document language. To match attribute values case-insensitively - regardless of document language rules, the attribute selector may be immediately - followed by the identifier <code>i</code>. When this flag is present, UAs - must match the attribute's value case-insensitively within the ASCII range. + regardless of document language rules, the attribute selector may include the + identifier <code>i</code> immediately inside the closing bracket (<code>]</code>). + When this flag is present, UAs must match the attribute's value + case-insensitively within the ASCII range. <div class="example"> <p>The following rule will style the <code>frame</code> attribute when it @@ -991,7 +992,7 @@ as <code>hsides</code>, <code>HSIDES</code>, <code>hSides</code>, etc. even in an XML environment where attribute values are case-sensitive. <pre> -<!-- -->[frame=hsides]i { border-style: solid none; } +<!-- -->[frame=hsides i] { border-style: solid none; } </pre> </div>
Received on Monday, 25 July 2011 18:44:52 UTC