[html5] r8700 - [giow] (2) Match reality with respect to changing <input type> to a radio button [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 4 11:51:04 PDT 2014


Author: ianh
Date: 2014-08-04 11:51:00 -0700 (Mon, 04 Aug 2014)
New Revision: 8700

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Match reality with respect to changing <input type> to a radio button
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25600
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2014-08-04 18:39:26 UTC (rev 8699)
+++ complete.html	2014-08-04 18:51:00 UTC (rev 8700)
@@ -32604,7 +32604,7 @@
    IDL attribute in any mode other than the <i id=the-input-element:dom-input-value-value-11><a href=#dom-input-value-value>value</a></i> mode, and the
    new state of the element's <code id=the-input-element:attr-input-type-15><a href=#attr-input-type>type</a></code> attribute puts the <code id=the-input-element:dom-input-value-8><a href=#dom-input-value>value</a></code> IDL attribute in the <i id=the-input-element:dom-input-value-value-12><a href=#dom-input-value-value>value</a></i> mode, then set the <a href=#concept-fe-value id=the-input-element:concept-fe-value-10>value</a> of the element to the value of the <code id=the-input-element:attr-input-value-6><a href=#attr-input-value>value</a></code> content attribute, if there is one, or the empty string
    otherwise, and then set the control's <a href=#concept-input-value-dirty-flag id=the-input-element:concept-input-value-dirty-flag-5>dirty value
-   flag</a> to false.<li><p>Update the element's rendering and behavior to the new state's.<li><p>Invoke the <a href=#value-sanitization-algorithm id=the-input-element:value-sanitization-algorithm-4>value sanitization algorithm</a>, if one is defined for the <code id=the-input-element:attr-input-type-16><a href=#attr-input-type>type</a></code> attribute's new state.</ol>
+   flag</a> to false.<li><p>Update the element's rendering and behavior to the new state's.<li><p><dfn id=signal-a-type-change>Signal a type change</dfn> for the element. (The <a href="#radio-button-state-(type=radio)" id="the-input-element:radio-button-state-(type=radio)-3">Radio Button</a> state uses this, in particular.)<li><p>Invoke the <a href=#value-sanitization-algorithm id=the-input-element:value-sanitization-algorithm-4>value sanitization algorithm</a>, if one is defined for the <code id=the-input-element:attr-input-type-16><a href=#attr-input-type>type</a></code> attribute's new state.</ol>
 
   </div>
 
@@ -35052,7 +35052,7 @@
 
   <ul><li>The element's <a href=#concept-fe-checked id="radio-button-state-(type=radio):concept-fe-checked-5">checkedness</a> state is set to true (for
    whatever reason).<li>The element's <code id="radio-button-state-(type=radio):attr-fe-name-5"><a href=#attr-fe-name>name</a></code> attribute is set, changed, or
-   removed.<li>The element's <a href=#form-owner id="radio-button-state-(type=radio):form-owner-3">form owner</a> changes.</ul>
+   removed.<li>The element's <a href=#form-owner id="radio-button-state-(type=radio):form-owner-3">form owner</a> changes.<li><a href=#signal-a-type-change id="radio-button-state-(type=radio):signal-a-type-change">A type change is signalled</a> for the element.</ul>
 
   <p>If the element is <i id="radio-button-state-(type=radio):concept-fe-mutable"><a href=#concept-fe-mutable>mutable</a></i>, then: The <a href=#pre-click-activation-steps id="radio-button-state-(type=radio):pre-click-activation-steps">pre-click
   activation steps</a> consist of setting the element's <a href=#concept-fe-checked id="radio-button-state-(type=radio):concept-fe-checked-6">checkedness</a> to true. The <a href=#canceled-activation-steps id="radio-button-state-(type=radio):canceled-activation-steps">canceled activation steps</a>

Modified: index
===================================================================
--- index	2014-08-04 18:39:26 UTC (rev 8699)
+++ index	2014-08-04 18:51:00 UTC (rev 8700)
@@ -32604,7 +32604,7 @@
    IDL attribute in any mode other than the <i id=the-input-element:dom-input-value-value-11><a href=#dom-input-value-value>value</a></i> mode, and the
    new state of the element's <code id=the-input-element:attr-input-type-15><a href=#attr-input-type>type</a></code> attribute puts the <code id=the-input-element:dom-input-value-8><a href=#dom-input-value>value</a></code> IDL attribute in the <i id=the-input-element:dom-input-value-value-12><a href=#dom-input-value-value>value</a></i> mode, then set the <a href=#concept-fe-value id=the-input-element:concept-fe-value-10>value</a> of the element to the value of the <code id=the-input-element:attr-input-value-6><a href=#attr-input-value>value</a></code> content attribute, if there is one, or the empty string
    otherwise, and then set the control's <a href=#concept-input-value-dirty-flag id=the-input-element:concept-input-value-dirty-flag-5>dirty value
-   flag</a> to false.<li><p>Update the element's rendering and behavior to the new state's.<li><p>Invoke the <a href=#value-sanitization-algorithm id=the-input-element:value-sanitization-algorithm-4>value sanitization algorithm</a>, if one is defined for the <code id=the-input-element:attr-input-type-16><a href=#attr-input-type>type</a></code> attribute's new state.</ol>
+   flag</a> to false.<li><p>Update the element's rendering and behavior to the new state's.<li><p><dfn id=signal-a-type-change>Signal a type change</dfn> for the element. (The <a href="#radio-button-state-(type=radio)" id="the-input-element:radio-button-state-(type=radio)-3">Radio Button</a> state uses this, in particular.)<li><p>Invoke the <a href=#value-sanitization-algorithm id=the-input-element:value-sanitization-algorithm-4>value sanitization algorithm</a>, if one is defined for the <code id=the-input-element:attr-input-type-16><a href=#attr-input-type>type</a></code> attribute's new state.</ol>
 
   </div>
 
@@ -35052,7 +35052,7 @@
 
   <ul><li>The element's <a href=#concept-fe-checked id="radio-button-state-(type=radio):concept-fe-checked-5">checkedness</a> state is set to true (for
    whatever reason).<li>The element's <code id="radio-button-state-(type=radio):attr-fe-name-5"><a href=#attr-fe-name>name</a></code> attribute is set, changed, or
-   removed.<li>The element's <a href=#form-owner id="radio-button-state-(type=radio):form-owner-3">form owner</a> changes.</ul>
+   removed.<li>The element's <a href=#form-owner id="radio-button-state-(type=radio):form-owner-3">form owner</a> changes.<li><a href=#signal-a-type-change id="radio-button-state-(type=radio):signal-a-type-change">A type change is signalled</a> for the element.</ul>
 
   <p>If the element is <i id="radio-button-state-(type=radio):concept-fe-mutable"><a href=#concept-fe-mutable>mutable</a></i>, then: The <a href=#pre-click-activation-steps id="radio-button-state-(type=radio):pre-click-activation-steps">pre-click
   activation steps</a> consist of setting the element's <a href=#concept-fe-checked id="radio-button-state-(type=radio):concept-fe-checked-6">checkedness</a> to true. The <a href=#canceled-activation-steps id="radio-button-state-(type=radio):canceled-activation-steps">canceled activation steps</a>

Modified: source
===================================================================
--- source	2014-08-04 18:39:26 UTC (rev 8699)
+++ source	2014-08-04 18:51:00 UTC (rev 8700)
@@ -42504,7 +42504,7 @@
 
   <ol>
 
-  <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/602 -->
+   <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/602 -->
 
    <li><p>If the previous state of the element's <code data-x="attr-input-type">type</code> attribute
    put the <code data-x="dom-input-value">value</code> IDL attribute in the <i
@@ -42530,6 +42530,9 @@
 
    <li><p>Update the element's rendering and behavior to the new state's.</p></li>
 
+   <li><p><dfn>Signal a type change</dfn> for the element. (The <span
+   data-x="attr-input-type-radio">Radio Button</span> state uses this, in particular.)</p></li>
+
    <li><p>Invoke the <span>value sanitization algorithm</span>, if one is defined for the <code
    data-x="attr-input-type">type</code> attribute's new state.</p></li>
 
@@ -45295,6 +45298,8 @@
 
    <li>The element's <span>form owner</span> changes.</li>
 
+   <li><span data-x="signal a type change">A type change is signalled</span> for the element.</li>
+
   </ul>
 
   <p>If the element is <i data-x="concept-fe-mutable">mutable</i>, then: The <span>pre-click



More information about the Commit-Watchers mailing list