[html5] r2206 - [] (0) WF2: Fix minor issues with the last checkin

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 17 15:22:27 PDT 2008


Author: ianh
Date: 2008-09-17 15:22:26 -0700 (Wed, 17 Sep 2008)
New Revision: 2206

Modified:
   index
   source
Log:
[] (0) WF2: Fix minor issues with the last checkin

Modified: index
===================================================================
--- index	2008-09-17 22:02:13 UTC (rev 2205)
+++ index	2008-09-17 22:22:26 UTC (rev 2206)
@@ -1098,9 +1098,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.
@@ -1108,7 +1111,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>
 
@@ -5378,7 +5381,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.
 
@@ -5403,7 +5406,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
@@ -27542,31 +27545,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.
+   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>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>.
-
   <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
@@ -27825,7 +27824,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
@@ -27843,13 +27849,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
@@ -27897,7 +27903,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
@@ -39488,7 +39494,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>
   <!--

Modified: source
===================================================================
--- source	2008-09-17 22:02:13 UTC (rev 2205)
+++ source	2008-09-17 22:22:26 UTC (rev 2206)
@@ -24596,31 +24596,28 @@
 
   <p><strong>The <span title="attr-input-type-text">Text</span>
   state's <span>control initialization</span> algorithm is as
-  follows:</strong> Run the <span>line feed stripper</span>
-  algorithm.</p>
+  follows:</strong> <span>Strip line breaks from the
+  value</span>.</p>
 
   <!-- XXX autocomplete? -->
 
   <p><strong>The <span title="attr-input-type-text">Text</span>
   state's <span>default value change</span> algorithm is as
-  follows:</strong> If the <code>input</code> element is not
-  <span>dirty</span> then set the <span
+  follows:</strong> If the <code>input</code> element is not <span
+  title="dirty flag">dirty</span> then set the <span
   title="concept-fe-value">value</span> of the element to the value of
   the <code title="attr-input-value">value</code> content attribute
-  and run the <span>line feed stripper</span> algorithm.</p>
+  and <span>strip line breaks from the value</span>.</p>
 
-  <p>The <dfn>line feed stripper</dfn> algorithm consists of removing
-  any U+000A LINE FEED (LF) characters from <span
-  title="concept-fe-value">value</span>.</p>
-
   <p>If an <code>input</code> element whose <code
   title="attr-input-type">type</code> attribute is in the <span
   title="attr-input-type-text">Text</span> state is <i
   title="concept-input-mutable">mutable</i>, its <span
   title="concept-fe-value">value</span> should be editable by the
   user. User agents must not allow users to insert U+000A LINE FEED
-  (LF) characters into the <span title="concept-fe-value">value</span>
-  of such <code>input</code> elements.</p>
+  (LF) or U+000D CARRIAGE RETURN (CR) characters into the <span
+  title="concept-fe-value">value</span> of such <code>input</code>
+  elements.</p>
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
@@ -24856,6 +24853,15 @@
 
 
 
+  <h6>Common algorithms</h6>
+
+  <p>When a user agent is to <dfn>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 <span
+  title="concept-fe-value">value</span>.</p>
+
+
+
   <h5>Common <code>input</code> element attributes</h5>
 
   <p>These attributes only apply to an <code>input</code> element if
@@ -24872,8 +24878,8 @@
  
   <p>The <dfn
   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>
+  attribute is an <span>enumerated attribute</span>. The attribute has
+  two states. The <code title="attr-input-autocomplete-on">on</code>
   keyword maps to the <dfn
   title="attr-input-autocomplete-on-state">on</dfn> state, and the
   <code title="attr-input-autocomplete-off">off</code> keyword maps to




More information about the Commit-Watchers mailing list