- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 17 Sep 2008 22:22:32 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv10420 Modified Files: Overview.html Log Message: WF2: Fix minor issues with the last checkin (whatwg r2206) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1378 retrieving revision 1.1379 diff -u -d -r1.1378 -r1.1379 --- Overview.html 17 Sep 2008 22:02:18 -0000 1.1378 +++ Overview.html 17 Sep 2008 22:22:30 -0000 1.1379 @@ -1105,9 +1105,12 @@ <li><a href="#button"><span class=secno>4.9.4.1.20. </span>Button state</a> + + <li><a href="#common3"><span class=secno>4.9.4.1.21. </span>Common + algorithms</a> </ul> - <li><a href="#common3"><span class=secno>4.9.4.2. </span>Common + <li><a href="#common4"><span class=secno>4.9.4.2. </span>Common <code>input</code> element attributes</a> <ul class=toc> <li><a href="#the-autocomplete"><span class=secno>4.9.4.2.1. @@ -1115,7 +1118,7 @@ title=attr-input-autocomplete>autocomplete</code> attribute</a> </ul> - <li><a href="#common4"><span class=secno>4.9.4.3. </span>Common + <li><a href="#common5"><span class=secno>4.9.4.3. </span>Common <code>input</code> element APIs</a> </ul> @@ -5385,7 +5388,7 @@ <p>In addition, an interface with a complement of URL decomposition attributes will define an <dfn id=input title=concept-uda-input>input</dfn>, which is a <a href="#url">URL</a> - that the attributes act on, and a <dfn id=common5 + that the attributes act on, and a <dfn id=common6 title=concept-uda-setter>common setter action</dfn>, which is a set of steps invoked when any of the attributes' setters are invoked. @@ -5410,7 +5413,7 @@ title=concept-uda-input>input</a> URL with the new value; otherwise, the user agent must let <var title="">output</var> be equal to the <a href="#input" title=concept-uda-input>input</a>. Finally, the user agent - must invoke the <a href="#common5" title=concept-uda-setter>common setter + must invoke the <a href="#common6" title=concept-uda-setter>common setter action</a> with the value of <var title="">output</var>. <p>When replacing a component in the URL, if the component is part of an @@ -27549,31 +27552,27 @@ <p><strong>The <a href="#text2" title=attr-input-type-text>Text</a> state's <a href="#control0">control initialization</a> algorithm is as - follows:</strong> Run the <a href="#line-feed">line feed stripper</a> - algorithm.</p> + follows:</strong> <a href="#strip">Strip line breaks from the value</a>.</p> <!-- XXX autocomplete? --> <p><strong>The <a href="#text2" title=attr-input-type-text>Text</a> state's <a href="#default2">default value change</a> algorithm is as follows:</strong> If the <code><a href="#input0">input</a></code> element - is not <span>dirty</span> then set the <a href="#value10" - title=concept-fe-value>value</a> of the element to the value of the <code - title=attr-input-value><a href="#value7">value</a></code> content - attribute and run the <a href="#line-feed">line feed stripper</a> - algorithm. - - <p>The <dfn id=line-feed>line feed stripper</dfn> algorithm consists of - removing any U+000A LINE FEED (LF) characters from <a href="#value10" - title=concept-fe-value>value</a>. + is not <a href="#dirty" title="dirty flag">dirty</a> then set the <a + href="#value10" title=concept-fe-value>value</a> of the element to the + value of the <code title=attr-input-value><a + href="#value7">value</a></code> content attribute and <a + href="#strip">strip line breaks from the value</a>. <p>If an <code><a href="#input0">input</a></code> element whose <code title=attr-input-type><a href="#type12">type</a></code> attribute is in the <a href="#text2" title=attr-input-type-text>Text</a> state is <i title=concept-input-mutable><a href="#mutable">mutable</a></i>, its <a href="#value10" title=concept-fe-value>value</a> should be editable by the - user. User agents must not allow users to insert U+000A LINE FEED (LF) - characters into the <a href="#value10" title=concept-fe-value>value</a> of - such <code><a href="#input0">input</a></code> elements. + user. User agents must not allow users to insert U+000A LINE FEED (LF) or + U+000D CARRIAGE RETURN (CR) characters into the <a href="#value10" + title=concept-fe-value>value</a> of such <code><a + href="#input0">input</a></code> elements. <p>When an <code><a href="#input0">input</a></code> element's <code title=attr-input-type><a href="#type12">type</a></code> attribute is in @@ -27832,7 +27831,14 @@ <p class=big-issue>... - <h5 id=common3><span class=secno>4.9.4.2. </span>Common <code><a + <h6 id=common3><span class=secno>4.9.4.1.21. </span>Common algorithms</h6> + + <p>When a user agent is to <dfn id=strip>strip line breaks from the + value</dfn>, the user agent must remove any U+000A LINE FEED (LF) and + U+000D CARRIAGE RETURN (CR) characters from <a href="#value10" + title=concept-fe-value>value</a>. + + <h5 id=common4><span class=secno>4.9.4.2. </span>Common <code><a href="#input0">input</a></code> element attributes</h5> <p>These attributes only apply to an <code><a @@ -27850,13 +27856,13 @@ <p>The <dfn id=autocomplete0 title=attr-input-autocomplete><code>autocomplete</code></dfn> attribute is - an enumerated attribute. The attribute has two states. The <code - title=attr-input-autocomplete-on>on</code> keyword maps to the <dfn id=on - title=attr-input-autocomplete-on-state>on</dfn> state, and the <code - title=attr-input-autocomplete-off>off</code> keyword maps to the <dfn - id=off title=attr-input-autocomplete-off-state>off</dfn> state. The - attribute may also be omitted. The <i>missing value default</i> is the <a - href="#on" title=attr-input-autocomplete-on-state>on</a> state. + an <a href="#enumerated">enumerated attribute</a>. The attribute has two + states. The <code title=attr-input-autocomplete-on>on</code> keyword maps + to the <dfn id=on title=attr-input-autocomplete-on-state>on</dfn> state, + and the <code title=attr-input-autocomplete-off>off</code> keyword maps to + the <dfn id=off title=attr-input-autocomplete-off-state>off</dfn> state. + The attribute may also be omitted. The <i>missing value default</i> is the + <a href="#on" title=attr-input-autocomplete-on-state>on</a> state. <p>The <a href="#off" title=attr-input-autocomplete-off-state>off</a> state indicates that the control's input data is either particularily sensitive @@ -27904,7 +27910,7 @@ accessible, as there are significant security implications for the user if support for this attribute is disabled. - <h5 id=common4><span class=secno>4.9.4.3. </span>Common <code><a + <h5 id=common5><span class=secno>4.9.4.3. </span>Common <code><a href="#input0">input</a></code> element APIs</h5> <p class=big-issue>... <dfn id=checked1 @@ -39495,7 +39501,7 @@ the associated <code>Document</code> object, as an <a href="#absolute">absolute URL</a> (same as the <code title=dom-location-href><a href="#href5">href</a></code> attribute), and - the <a href="#common5" title=concept-uda-setter>common setter action</a> + the <a href="#common6" title=concept-uda-setter>common setter action</a> being the same as setting the <code title=dom-location-href><a href="#href5">href</a></code> attribute to the new output value.</p> <!--
Received on Wednesday, 17 September 2008 22:23:08 UTC