|
27 | 27 | <h1>CSS Object Model (CSSOM)</h1> |
28 | 28 |
|
29 | 29 |
|
30 | | - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 11 June 2013</h2> |
| 30 | + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 12 June 2013</h2> |
31 | 31 |
|
32 | 32 | <dl> |
33 | 33 |
|
@@ -101,7 +101,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2> |
101 | 101 | can be found in the |
102 | 102 | <a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em> |
103 | 103 |
|
104 | | -<p class="dontpublish">This is the 11 June 2013 Editor's Draft of CSSOM. Please send comments to |
| 104 | +<p class="dontpublish">This is the 12 June 2013 Editor's Draft of CSSOM. Please send comments to |
105 | 105 | <a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a> |
106 | 106 | (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) |
107 | 107 | with <samp>[cssom]</samp> at the start of the subject line. |
@@ -2385,15 +2385,17 @@ <h3 id="css-values"><span class="secno">6.6 </span>CSS Values</h3> |
2385 | 2385 |
|
2386 | 2386 | <h4 id="parsing-css-values"><span class="secno">6.6.1 </span>Parsing CSS Values</h4> |
2387 | 2387 |
|
2388 | | -<p>To <dfn id="parse-a-css-value">parse a CSS value</dfn> for a given |
2389 | | -<var>property</var> means to a parse the given value according to |
2390 | | -the definition of the property that is an |
2391 | | -<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for |
2392 | | -<var>property</var> in the CSS specification, if <var>property</var> is defined to be |
2393 | | -case-insensitive, or otherwise that is a |
2394 | | -<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for <var>property</var> in the |
2395 | | -CSS specification. If the given value is <a href="#ignored">ignored</a> return null. |
2396 | | -Otherwise return the CSS value for the given <var>property</var>.</p> |
| 2388 | +<p>To <dfn id="parse-a-css-value">parse a CSS value</dfn> <var>value</var> for a given |
| 2389 | +<var>property</var> means to follow these steps: |
| 2390 | + |
| 2391 | +<ol> |
| 2392 | + <li><p>Let <var>list</var> be the value returned by invoking <a class="external" data-anolis-spec="csssyntax" href="http://dev.w3.org/csswg/css-syntax/#parse-a-list-of-component-values0">parse a list of component values</a> from <var>value</var>. |
| 2393 | + <li><p>Match <var>list</var> against the grammar for the property that is an <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for |
| 2394 | + <var>property</var> in the CSS specification, if <var>property</var> is defined to be case-insensitive, or otherwise that is a |
| 2395 | + <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for <var>property</var> in the CSS specification. |
| 2396 | + <li><p>If the above step failed, return null. |
| 2397 | + <li><p>Return <var>list</var>. |
| 2398 | +</ol> |
2397 | 2399 |
|
2398 | 2400 | <p class="note">"<code title="">!important</code>" declarations are not |
2399 | 2401 | part of the property value space and will therefore cause |
|
0 commit comments