- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 29 Dec 2010 23:07:31 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv1838 Modified Files: Overview.html Log Message: Clarify handling of CSS colors. (whatwg r5726) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4588 retrieving revision 1.4589 diff -u -d -r1.4588 -r1.4589 --- Overview.html 29 Dec 2010 22:43:37 -0000 1.4588 +++ Overview.html 29 Dec 2010 23:07:27 -0000 1.4589 @@ -2961,6 +2961,33 @@ </dd> + <dt>CSS modules</dt> + + <dd> + + <p>While support for CSS as a whole is not required of + implementations of this specification (though it is encouraged, at + least for Web browsers), some features are defined in terms of + specific CSS requirements.</p> + + <p>In particular, some features require that a string be + <dfn id="parsed-as-a-css-color-value">parsed as a CSS <color> value</dfn>. When parsing a CSS + value, user agents are required by the CSS specifications to apply + some error handling rules. These apply to this specification also. + <a href="#refsCSSCOLOR">[CSSCOLOR]</a> <a href="#refsCSS">[CSS]</a></p> + + <p class="example">For example, user agents are required to close + all open constructs upon finding the end of a style sheet + unexpectedly. Thus, when parsing the string "<code title="">rgb(0,0,0</code>" (with a missing close-parenthesis) for + a color value, the close parenthesis is implied by this error + handling rule, and a value is obtained (the color 'black'). + However, the similar construct "<code title="">rgb(0,0,</code>" + (with both a missing parenthesis and a missing "blue" value) + cannot be parsed, as it closing the open construct does not result + in a viable value.</p> + + </dd> + </dl><p>This specification does not <em>require</em> support of any particular network protocol, style sheet language, scripting language, or any of the DOM specifications beyond those described
Received on Wednesday, 29 December 2010 23:07:33 UTC