- From: Tantek Celik via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 11 Jan 2012 19:05:52 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-ui In directory hutz:/tmp/cvs-serv31725 Modified Files: Overview.html Overview.src.html Log Message: fix a few broken fragments, update XForms reference from 1.0 to 1.1 (latest), drop XForms 1.0 example since 1.1 dropped it. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-ui/Overview.html,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- Overview.html 11 Jan 2012 17:50:44 -0000 1.36 +++ Overview.html 11 Jan 2012 19:05:50 -0000 1.37 @@ -632,7 +632,7 @@ uppercase letters in this specification. <p>Additional key words, e.g. "User agent (UA)", are <a - href="http://www.w3.org/TR/CSS21/conform.html#q1">defined by CSS 2.1</a> + href="http://www.w3.org/TR/CSS21/conform.html#defs">defined by CSS 2.1</a> (<a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>, section 3.1). @@ -651,7 +651,7 @@ rel=biblioentry>[HTML5]<!--{{HTML5}}--></a>), XHTML (<a href="#XHTML10" rel=biblioentry>[XHTML10]<!--{{XHTML10}}--></a>, <a href="#XHTML11" rel=biblioentry>[XHTML11]<!--{{XHTML11}}--></a>), XForms (e.g. <a - href="#XFORMS10" rel=biblioentry>[XFORMS10]<!--{{XFORMS10}}--></a>), SVG + href="#XFORMS11" rel=biblioentry>[XFORMS11]<!--{{XFORMS11}}--></a>), SVG (e.g. <a href="#SVG10" rel=biblioentry>[SVG10]<!--{{SVG10}}--></a>, <a href="#SVG11" rel=biblioentry>[SVG11]<!--{{SVG11}}--></a>) or other content languages that contain forms controls or are intended for user @@ -673,9 +673,9 @@ an implementation needs to extend the functionality of this specification, it must follow any/all guidelines and requirements of extensions as defined in CSS2.1, e.g. <a - href="http://www.w3.org/TR/CSS21/syndata.html#q4">Vendor-specific + href="http://www.w3.org/TR/CSS21/syndata.html#vendor-keywords">Vendor-specific extensions</a> (<a href="#CSS21" - rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>, section 4.1.2). + rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>, section 4.1.2.1). <h2 id=dependencies-on-other-modules><span class=secno>3. </span>Dependencies on other modules</h2> @@ -722,7 +722,7 @@ <li><a href="#XHTML11" rel=biblioentry>[XHTML11]<!--{{XHTML11}}--></a> - <li><a href="#XFORMS10" rel=biblioentry>[XFORMS10]<!--{{XFORMS10}}--></a> + <li><a href="#XFORMS11" rel=biblioentry>[XFORMS11]<!--{{XFORMS11}}--></a> </ul> <p>This specification does not define what is a form element. @@ -807,8 +807,8 @@ <p>Specifically, these new states (except for :default) are provided as a way to style elements which are in the respective states as defined by - XForms <a href="#XFORMS10" - rel=biblioentry>[XFORMS10]<!--{{XFORMS10}}--></a>. + XForms <a href="#XFORMS11" + rel=biblioentry>[XFORMS11]<!--{{XFORMS11}}--></a>. <h4 id=pseudo-default><span class=secno>4.1.2. </span>:default</h4> @@ -826,8 +826,8 @@ <p>An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different - specification (e.g. <a href="#XFORMS10" - rel=biblioentry>[XFORMS10]<!--{{XFORMS10}}--></a>). An element which lacks + specification (e.g. <a href="#XFORMS11" + rel=biblioentry>[XFORMS11]<!--{{XFORMS11}}--></a>). An element which lacks data validity semantics is neither :valid nor :invalid. This is different from an element which otherwise has no constraints. Such an element would always be :valid. @@ -897,8 +897,8 @@ </ul> <p>Specifically, these new pseudo-elements are provided as a way to style - user interface fragments as defined by XForms <a href="#XFORMS10" - rel=biblioentry>[XFORMS10]<!--{{XFORMS10}}--></a>. + user interface fragments as defined by XForms <a href="#XFORMS11" + rel=biblioentry>[XFORMS11]<!--{{XFORMS11}}--></a>. <h4 id=pseudo-value><span class=secno>4.2.1. </span>::value</h4> @@ -1058,43 +1058,6 @@ repeated item at any point.</em></p> </div> - <div class=example> - <p style="display:none">Example(s):</p> - - <h4 class="no-num no-toc" id=ui-selectors-example-from-xforms-1.0>UI - selectors example from XForms 1.0</h4> - - <p> The following <a - href="http://www.w3.org/TR/xforms/sliceF.html#id2645356">example from - XForms 1.0</a> (<a href="#XFORMS10" - rel=biblioentry>[XFORMS10]<!--{{XFORMS10}}--></a>, section F.3) shows how - basic styling can be accomplished on form controls and repeating - structures using the new pseudo-classes and XForms elements.</p> - - <pre><code class=css> -@namespace xforms url(http://www.w3.org/2002/xforms); -/* Display a red background on all invalid form controls */ -*:invalid { background-color:red; } -/* Display a red asterisk after all required form controls */ -*:required::after { content: "*"; color:red; } -/* Do not render non-relevant form controls */ -*:disabled { visibility: hidden; } -/* The following declarations cause form controls and their labels -to align neatly, as if a two-column table were used */ -xforms|group { display: table; } -xforms|input { display: table-row; } -xforms|input > xforms|label { display: table-cell; } -xforms|input::value { border: thin black solid; display: table-cell; } -/* Display an alert message when appropriate */ -*:valid > xforms|alert { display: none; } -*:invalid > xforms|alert { display: inline; } -/* Display repeat-items with a dashed border */ -*::repeat-item,*::repeat-index { border: dashed; } -/* Display a teal highlight behind the current repeat item */ -*::repeat-index { background-color: teal; } -</code></pre> - </div> - <h2 id=element-icons><span class=secno>5. </span>Element icons</h2> <p>This section is <em>normative</em>. @@ -3148,12 +3111,13 @@ </dd> <!----> - <dt id=XFORMS10>[XFORMS10] + <dt id=XFORMS11>[XFORMS11] <dd>John M. Boyer. <a - href="http://www.w3.org/TR/2009/REC-xforms-20091020/"><cite>XForms - 1.1.</cite></a> 20 October 2009. W3C Recommendation. URL: <a - href="http://www.w3.org/TR/2009/REC-xforms-20091020/">http://www.w3.org/TR/2009/REC-xforms-20091020/</a> + href="http://www.w3.org/TR/2009/PR-xforms11-20090818"><cite>XForms + 1.1.</cite></a> 18 August 2009. W3C Proposed Recommendation. (Work in + progress.) URL: <a + href="http://www.w3.org/TR/2009/PR-xforms11-20090818">http://www.w3.org/TR/2009/PR-xforms11-20090818</a> </dd> <!----> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-ui/Overview.src.html,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- Overview.src.html 11 Jan 2012 17:50:44 -0000 1.37 +++ Overview.src.html 11 Jan 2012 19:05:50 -0000 1.38 @@ -339,7 +339,7 @@ letters in this specification. </p> -<p>Additional key words, e.g. "User agent (UA)", are <a href="http://www.w3.org/TR/CSS21/conform.html#q1">defined by CSS 2.1</a> ([[!CSS21]], section 3.1).</p> +<p>Additional key words, e.g. "User agent (UA)", are <a href="http://www.w3.org/TR/CSS21/conform.html#defs">defined by CSS 2.1</a> ([[!CSS21]], section 3.1).</p> <h3>Classes of products</h3> @@ -347,7 +347,7 @@ <ul> <li>Web browsers</li> -<li>User agents that implement one or more of the following types of content: HTML ([[HTML401]], [[HTML5]]), XHTML ([[XHTML10]], [[XHTML11]]), XForms (e.g. [[XFORMS10]]), SVG (e.g. [[SVG10]], [[SVG11]]) or other content languages that contain forms controls or are intended for user interaction</li> +<li>User agents that implement one or more of the following types of content: HTML ([[HTML401]], [[HTML5]]), XHTML ([[XHTML10]], [[XHTML11]]), XForms (e.g. [[XFORMS11]]), SVG (e.g. [[SVG10]], [[SVG11]]) or other content languages that contain forms controls or are intended for user interaction</li> <li>User agents that implement one or more levels, modules and or profiles of CSS (e.g. [[CSS1]], [[!CSS21]])</li> </ul> @@ -357,7 +357,7 @@ <h3>Extensions</h3> -<p>This specification does not define any explicit extension mechanisms. If an implementation needs to extend the functionality of this specification, it must follow any/all guidelines and requirements of extensions as defined in CSS2.1, e.g. <a href="http://www.w3.org/TR/CSS21/syndata.html#q4">Vendor-specific extensions</a> ([[!CSS21]], section 4.1.2). +<p>This specification does not define any explicit extension mechanisms. If an implementation needs to extend the functionality of this specification, it must follow any/all guidelines and requirements of extensions as defined in CSS2.1, e.g. <a href="http://www.w3.org/TR/CSS21/syndata.html#vendor-keywords">Vendor-specific extensions</a> ([[!CSS21]], section 4.1.2.1). </p> @@ -391,7 +391,7 @@ <li>[[XML10]]</li> <li>[[XHTML10]]</li> <li>[[XHTML11]]</li> -<li>[[XFORMS10]]</li> +<li>[[XFORMS11]]</li> </ul> <p>This specification does not define what is a form element.</p> @@ -437,7 +437,7 @@ <li>:read-write</li> </ul> -<p>Specifically, these new states (except for :default) are provided as a way to style elements which are in the respective states as defined by XForms [[XFORMS10]].</p> +<p>Specifically, these new states (except for :default) are provided as a way to style elements which are in the respective states as defined by XForms [[XFORMS11]].</p> <h4 id="pseudo-default">:default</h4> <p>The :default selector applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons and select lists/menus. @@ -451,7 +451,7 @@ <p>An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics -defined by a different specification (e.g. [[XFORMS10]]). +defined by a different specification (e.g. [[XFORMS11]]). An element which lacks data validity semantics is neither :valid nor :invalid. This is different from an element which otherwise has no constraints. Such an element would always be :valid. </p> @@ -492,7 +492,7 @@ <li>::repeat-index</li> </ul> -<p>Specifically, these new pseudo-elements are provided as a way to style user interface fragments as defined by XForms [[XFORMS10]].</p> +<p>Specifically, these new pseudo-elements are provided as a way to style user interface fragments as defined by XForms [[XFORMS11]].</p> <h4 id="pseudo-value">::value</h4> @@ -619,37 +619,6 @@ </div> - -<div class="example"><p style="display:none">Example(s):</p> -<h4 class="no-num no-toc">UI selectors example from XForms 1.0</h4> -<p> -The following <a href="http://www.w3.org/TR/xforms/sliceF.html#id2645356">example from XForms 1.0</a> ([[XFORMS10]], section F.3) shows how basic styling can be accomplished on form controls and repeating structures using the new pseudo-classes and XForms elements. -</p> -<pre><code class="css"> -@namespace xforms url(http://www.w3.org/2002/xforms); -/* Display a red background on all invalid form controls */ -*:invalid { background-color:red; } -/* Display a red asterisk after all required form controls */ -*:required::after { content: "*"; color:red; } -/* Do not render non-relevant form controls */ -*:disabled { visibility: hidden; } -/* The following declarations cause form controls and their labels -to align neatly, as if a two-column table were used */ -xforms|group { display: table; } -xforms|input { display: table-row; } -xforms|input > xforms|label { display: table-cell; } -xforms|input::value { border: thin black solid; display: table-cell; } -/* Display an alert message when appropriate */ -*:valid > xforms|alert { display: none; } -*:invalid > xforms|alert { display: inline; } -/* Display repeat-items with a dashed border */ -*::repeat-item,*::repeat-index { border: dashed; } -/* Display a teal highlight behind the current repeat item */ -*::repeat-index { background-color: teal; } -</code></pre> -</div> - - <h2>Element icons</h2> <p>This section is <em>normative</em>.</p>
Received on Wednesday, 11 January 2012 19:05:55 UTC