Mon, 28 Apr 2014 09:48:44 +0200
[cssom] Serialize the i flag in attribute selectors. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25488
cssom/Overview.html | file | annotate | diff | comparison | revisions | |
cssom/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/cssom/Overview.html Sun Apr 27 13:51:49 2014 -0700 1.2 +++ b/cssom/Overview.html Mon Apr 28 09:48:44 2014 +0200 1.3 @@ -16,7 +16,7 @@ 1.4 <h1>CSS Object Model (CSSOM)</h1> 1.5 1.6 1.7 - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 6 February 2014</h2> 1.8 + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 28 April 2014</h2> 1.9 1.10 <dl> 1.11 1.12 @@ -90,7 +90,7 @@ 1.13 can be found in the 1.14 <a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em> 1.15 1.16 -<p class="dontpublish">This is the 6 February 2014 Editor's Draft of CSSOM. Please send comments to 1.17 +<p class="dontpublish">This is the 28 April 2014 Editor's Draft of CSSOM. Please send comments to 1.18 <a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a> 1.19 (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) 1.20 with <samp>[cssom]</samp> at the start of the subject line. 1.21 @@ -598,9 +598,9 @@ 1.22 void <a href="#dom-medialist-deletemedium" title="dom-MediaList-deleteMedium">deleteMedium</a>(DOMString medium); 1.23 };</pre> 1.24 1.25 -<p>The object's <a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of media queries 1.26 +<p>The object's <a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of media queries 1.27 in the <a href="#collection-of-media-queries">collection of media queries</a> represented by the collection. If there are no such media queries, then there are no 1.28 -<a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>. 1.29 +<a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a>. 1.30 1.31 <p>To <dfn id="create-a-medialist-object">create a <code>MediaList</code> object</dfn> with a string <var>text</var>, run the following steps: 1.32 <ol> 1.33 @@ -763,6 +763,9 @@ 1.34 by the <a href="#serialize-a-string" title="serialize a string">string escaped</a> 1.35 attribute value, to <var>s</var>.</li> 1.36 1.37 + <li><p>If the attribute selector has the case-sensitivity flag present, 1.38 + append "<code title=""> i</code>" (U+0020 U+0069) to <var>s</var>. 1.39 + 1.40 <li><p>Append "<code title="">]</code>" (U+005D) to 1.41 <var>s</var>.</li> 1.42 </ol> 1.43 @@ -1197,9 +1200,9 @@ 1.44 readonly attribute unsigned long <a href="#dom-stylesheetlist-length" title="dom-StyleSheetList-length">length</a>; 1.45 };</pre> 1.46 1.47 -<p>The object's <a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of 1.48 +<p>The object's <a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of 1.49 <a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> represented by the collection. If there are no such <a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a>, 1.50 -then there are no <a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>. 1.51 +then there are no <a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a>. 1.52 1.53 <p>The <dfn id="dom-stylesheetlist-item" title="dom-StyleSheetList-item"><code>item(<var>index</var>)</code></dfn> method must return the <var>index</var>th <a href="#css-style-sheet">CSS style 1.54 sheet</a> in the collection. If there is no <var>index</var>th object in the collection, then the method must return null. 1.55 @@ -1883,9 +1886,9 @@ 1.56 readonly attribute unsigned long <a href="#dom-cssrulelist-length" title="dom-CSSRuleList-length">length</a>; 1.57 };</pre> 1.58 1.59 -<p>The object's <a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of 1.60 +<p>The object's <a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of 1.61 <code><a href="#cssrule">CSSRule</a></code> objects represented by the collection. If there are no such <code><a href="#cssrule">CSSRule</a></code> objects, then there are no 1.62 -<a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>. 1.63 +<a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a>. 1.64 1.65 <p>The <dfn id="dom-cssrulelist-item" title="dom-CSSRuleList-item"><code>item(<var>index</var>)</code></dfn> method must return the <var>index</var>th <code><a href="#cssrule">CSSRule</a></code> 1.66 object in the collection. If there is no <var>index</var>th object in the collection, then the method must return null. 1.67 @@ -2357,9 +2360,9 @@ 1.68 attribute DOMString <a href="#dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat">cssFloat</a>;<!-- setProperty's value arg has [TreatNullAs=EmptyString] --> 1.69 };</pre> 1.70 1.71 -<p>The object's <a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of 1.72 +<p>The object's <a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of 1.73 <a href="#css-declaration" title="CSS declaration">CSS declarations</a> in the <a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a>. If there are no such 1.74 -<a href="#css-declaration" title="CSS declaration">CSS declarations</a>, then there are no <a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>. 1.75 +<a href="#css-declaration" title="CSS declaration">CSS declarations</a>, then there are no <a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a>. 1.76 1.77 <p>The <dfn id="dom-cssstyledeclaration-csstext" title="dom-CSSStyleDeclaration-cssText"><code>cssText</code></dfn> attribute must return the result of 1.78 <a href="#serialize-a-css-declaration-block" title="serialize a CSS declaration block">serializing</a> the <a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a>.</p>
2.1 --- a/cssom/Overview.src.html Sun Apr 27 13:51:49 2014 -0700 2.2 +++ b/cssom/Overview.src.html Mon Apr 28 09:48:44 2014 +0200 2.3 @@ -680,6 +680,9 @@ 2.4 by the <span title="serialize a string">string escaped</span> 2.5 attribute value, to <var>s</var>.</p></li> 2.6 2.7 + <li><p>If the attribute selector has the case-sensitivity flag present, 2.8 + append "<code title> i</code>" (U+0020 U+0069) to <var>s</var>. 2.9 + 2.10 <li><p>Append "<code title>]</code>" (U+005D) to 2.11 <var>s</var>.</p></li> 2.12 </ol>