|
16 | 16 | <h1>CSS Object Model (CSSOM)</h1> |
17 | 17 |
|
18 | 18 |
|
19 | | - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 6 February 2014</h2> |
| 19 | + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 28 April 2014</h2> |
20 | 20 |
|
21 | 21 | <dl> |
22 | 22 |
|
@@ -90,7 +90,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2> |
90 | 90 | can be found in the |
91 | 91 | <a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em> |
92 | 92 |
|
93 | | -<p class="dontpublish">This is the 6 February 2014 Editor's Draft of CSSOM. Please send comments to |
| 93 | +<p class="dontpublish">This is the 28 April 2014 Editor's Draft of CSSOM. Please send comments to |
94 | 94 | <a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a> |
95 | 95 | (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) |
96 | 96 | with <samp>[cssom]</samp> at the start of the subject line. |
@@ -598,9 +598,9 @@ <h3 id="the-medialist-interface"><span class="secno">4.4 </span>The <code title= |
598 | 598 | void <a href="#dom-medialist-deletemedium" title="dom-MediaList-deleteMedium">deleteMedium</a>(DOMString medium); |
599 | 599 | };</pre> |
600 | 600 |
|
601 | | -<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 |
| 601 | +<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 |
602 | 602 | 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 |
603 | | -<a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>. |
| 603 | +<a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a>. |
604 | 604 |
|
605 | 605 | <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: |
606 | 606 | <ol> |
@@ -763,6 +763,9 @@ <h3 id="serializing-selectors"><span class="secno">5.2 </span>Serializing Select |
763 | 763 | by the <a href="#serialize-a-string" title="serialize a string">string escaped</a> |
764 | 764 | attribute value, to <var>s</var>.</li> |
765 | 765 |
|
| 766 | + <li><p>If the attribute selector has the case-sensitivity flag present, |
| 767 | + append "<code title=""> i</code>" (U+0020 U+0069) to <var>s</var>. |
| 768 | + |
766 | 769 | <li><p>Append "<code title="">]</code>" (U+005D) to |
767 | 770 | <var>s</var>.</li> |
768 | 771 | </ol> |
@@ -1197,9 +1200,9 @@ <h4 id="the-stylesheetlist-interface"><span class="secno">6.2.2 </span>The <code |
1197 | 1200 | readonly attribute unsigned long <a href="#dom-stylesheetlist-length" title="dom-StyleSheetList-length">length</a>; |
1198 | 1201 | };</pre> |
1199 | 1202 |
|
1200 | | -<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 |
| 1203 | +<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 |
1201 | 1204 | <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>, |
1202 | | -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>. |
| 1205 | +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>. |
1203 | 1206 |
|
1204 | 1207 | <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 |
1205 | 1208 | sheet</a> in the collection. If there is no <var>index</var>th object in the collection, then the method must return null. |
@@ -1883,9 +1886,9 @@ <h4 id="the-cssrulelist-interface"><span class="secno">6.4.1 </span>The <code ti |
1883 | 1886 | readonly attribute unsigned long <a href="#dom-cssrulelist-length" title="dom-CSSRuleList-length">length</a>; |
1884 | 1887 | };</pre> |
1885 | 1888 |
|
1886 | | -<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 |
| 1889 | +<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 |
1887 | 1890 | <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 |
1888 | | -<a class="external" data-anolis-spec="webidl" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>. |
| 1891 | +<a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a>. |
1889 | 1892 |
|
1890 | 1893 | <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> |
1891 | 1894 | object in the collection. If there is no <var>index</var>th object in the collection, then the method must return null. |
@@ -2357,9 +2360,9 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.6.1 </span>The |
2357 | 2360 | attribute DOMString <a href="#dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat">cssFloat</a>;<!-- setProperty's value arg has [TreatNullAs=EmptyString] --> |
2358 | 2361 | };</pre> |
2359 | 2362 |
|
2360 | | -<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 |
| 2363 | +<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 |
2361 | 2364 | <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 |
2362 | | -<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>. |
| 2365 | +<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>. |
2363 | 2366 |
|
2364 | 2367 | <p>The <dfn id="dom-cssstyledeclaration-csstext" title="dom-CSSStyleDeclaration-cssText"><code>cssText</code></dfn> attribute must return the result of |
2365 | 2368 | <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> |
|
0 commit comments