[html5] r8343 - [giow] (0) Make modal <dialog> ancestors inert too. Fixing https://www.w3.org/Bu [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Dec 11 13:23:38 PST 2013


Author: ianh
Date: 2013-12-11 13:23:36 -0800 (Wed, 11 Dec 2013)
New Revision: 8343

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Make modal <dialog> ancestors inert too.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23456
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-12-11 19:51:50 UTC (rev 8342)
+++ complete.html	2013-12-11 21:23:36 UTC (rev 8343)
@@ -75011,8 +75011,9 @@
 
   <h3 id=inert-subtrees><span class=secno>8.2 </span>Inert subtrees</h3>
 
-  <p>A subtree of a <code><a href=#document>Document</a></code> can be marked as <dfn id=inert>inert</dfn>. When a node or one of
-  its ancestors is <a href=#inert>inert</a>, then the user agent must act as if the element was absent for
+<!--CLEANUP-->
+  <p>A node (in particular elements and text nodes) can be marked as <dfn id=inert>inert</dfn>. When a node 
+  is <a href=#inert>inert</a>, then the user agent must act as if the node was absent for
   the purposes of targeting user interaction events, may ignore the node for the purposes of text
   search user interfaces (commonly known as "find in page"), and may prevent the user from selecting
   text in that node. User agents should allow the user to override the restrictions on search and
@@ -75024,10 +75025,11 @@
   no <code title=event-mouseover>mouseover</code> event would be fired, and the <code title=event-mousemove>mousemove</code> and <code title=event-click><a href=#event-click>click</a></code> events would
   be fired on the <code><a href=#the-body-element>body</a></code> element rather than the paragraph.</p>
 
-  <p class=note>When a node or one of its ancestors is inert, it also can't be
+<!--CLEANUP-->
+  <p class=note>When a node is inert, it also can't be
   <a href=#focusable>focusable</a>, and it is disabled if it is a <a href=#concept-command title=concept-command>command</a>.</p>
 
-  <p>An entire <code><a href=#document>Document</a></code> can be marked as <dfn id=blocked-by-a-modal-dialog>blocked by a modal dialog</dfn> <var title="">subject</var>. While a <code><a href=#document>Document</a></code> is so marked, every node that is <a href=#in-a-document title="in a Document">in the <code>Document</code></a>, with the exception of the <var title="">subject</var> element, its ancestors, and its descendants, must be marked
+  <p>An entire <code><a href=#document>Document</a></code> can be marked as <dfn id=blocked-by-a-modal-dialog>blocked by a modal dialog</dfn> <var title="">subject</var>. While a <code><a href=#document>Document</a></code> is so marked, every node that is <a href=#in-a-document title="in a Document">in the <code>Document</code></a>, with the exception of the <var title="">subject</var> element and its descendants, must be marked
   <a href=#inert>inert</a>. (The elements excepted by this paragraph can additionally be marked
   <a href=#inert>inert</a> through other means; being part of a modal dialog does not "protect" a node
   from being marked <a href=#inert>inert</a>.)</p>
@@ -75043,12 +75045,13 @@
   <h4 id=the-inert-attribute><span class=secno>8.2.1 </span>The <dfn title=attr-inert><code>inert</code></dfn> attribute</h4>
 
   <p>The <code title=attr-inert><a href=#the-inert-attribute>inert</a></code> attribute is a <a href=#boolean-attribute>boolean attribute</a> that
-  indicates, by its presence, that the element is to be made <a href=#inert>inert</a>.</p>
+  indicates, by its presence, that the element and all its descendants is to be made
+  <a href=#inert>inert</a>.</p>
 
   <div class=impl>
 
   <p>When an element has an <code title=attr-inert><a href=#the-inert-attribute>inert</a></code> attribute, the user agent must
-  mark that element as <a href=#inert>inert</a>.</p>
+  mark that element and all its descendants as <a href=#inert>inert</a>.</p>
 
   </div>
 
@@ -75288,7 +75291,7 @@
    descendant of a <code><a href=#the-canvas-element>canvas</a></code> element that <a href=#represents>represents</a> <a href=#embedded-content>embedded
    content</a>.</li>
 
-   <li>Neither the element nor any of its ancestors are <a href=#inert>inert</a>.</li>
+   <li>The element is not <a href=#inert>inert</a>.</li>
 
    <li>The element is not <a href=#concept-element-disabled title=concept-element-disabled>disabled</a>.</li>
 
@@ -99932,7 +99935,7 @@
      <td> <a href=#attribute-text>Text</a>*
     <tr><th> <code title="">inert</code>
      <td> <a href=#the-inert-attribute title=attr-inert>HTML elements</a>
-     <td> Whether the element is inert
+     <td> Whether the element and its descendants are inert
      <td> <a href=#boolean-attribute>Boolean attribute</a>
     <tr><th> <code title="">inputmode</code>
      <td> <code title=attr-fe-inputmode><a href=#attr-fe-inputmode>input</a></code>;

Modified: index
===================================================================
--- index	2013-12-11 19:51:50 UTC (rev 8342)
+++ index	2013-12-11 21:23:36 UTC (rev 8343)
@@ -75011,8 +75011,9 @@
 
   <h3 id=inert-subtrees><span class=secno>8.2 </span>Inert subtrees</h3>
 
-  <p>A subtree of a <code><a href=#document>Document</a></code> can be marked as <dfn id=inert>inert</dfn>. When a node or one of
-  its ancestors is <a href=#inert>inert</a>, then the user agent must act as if the element was absent for
+<!--CLEANUP-->
+  <p>A node (in particular elements and text nodes) can be marked as <dfn id=inert>inert</dfn>. When a node 
+  is <a href=#inert>inert</a>, then the user agent must act as if the node was absent for
   the purposes of targeting user interaction events, may ignore the node for the purposes of text
   search user interfaces (commonly known as "find in page"), and may prevent the user from selecting
   text in that node. User agents should allow the user to override the restrictions on search and
@@ -75024,10 +75025,11 @@
   no <code title=event-mouseover>mouseover</code> event would be fired, and the <code title=event-mousemove>mousemove</code> and <code title=event-click><a href=#event-click>click</a></code> events would
   be fired on the <code><a href=#the-body-element>body</a></code> element rather than the paragraph.</p>
 
-  <p class=note>When a node or one of its ancestors is inert, it also can't be
+<!--CLEANUP-->
+  <p class=note>When a node is inert, it also can't be
   <a href=#focusable>focusable</a>, and it is disabled if it is a <a href=#concept-command title=concept-command>command</a>.</p>
 
-  <p>An entire <code><a href=#document>Document</a></code> can be marked as <dfn id=blocked-by-a-modal-dialog>blocked by a modal dialog</dfn> <var title="">subject</var>. While a <code><a href=#document>Document</a></code> is so marked, every node that is <a href=#in-a-document title="in a Document">in the <code>Document</code></a>, with the exception of the <var title="">subject</var> element, its ancestors, and its descendants, must be marked
+  <p>An entire <code><a href=#document>Document</a></code> can be marked as <dfn id=blocked-by-a-modal-dialog>blocked by a modal dialog</dfn> <var title="">subject</var>. While a <code><a href=#document>Document</a></code> is so marked, every node that is <a href=#in-a-document title="in a Document">in the <code>Document</code></a>, with the exception of the <var title="">subject</var> element and its descendants, must be marked
   <a href=#inert>inert</a>. (The elements excepted by this paragraph can additionally be marked
   <a href=#inert>inert</a> through other means; being part of a modal dialog does not "protect" a node
   from being marked <a href=#inert>inert</a>.)</p>
@@ -75043,12 +75045,13 @@
   <h4 id=the-inert-attribute><span class=secno>8.2.1 </span>The <dfn title=attr-inert><code>inert</code></dfn> attribute</h4>
 
   <p>The <code title=attr-inert><a href=#the-inert-attribute>inert</a></code> attribute is a <a href=#boolean-attribute>boolean attribute</a> that
-  indicates, by its presence, that the element is to be made <a href=#inert>inert</a>.</p>
+  indicates, by its presence, that the element and all its descendants is to be made
+  <a href=#inert>inert</a>.</p>
 
   <div class=impl>
 
   <p>When an element has an <code title=attr-inert><a href=#the-inert-attribute>inert</a></code> attribute, the user agent must
-  mark that element as <a href=#inert>inert</a>.</p>
+  mark that element and all its descendants as <a href=#inert>inert</a>.</p>
 
   </div>
 
@@ -75288,7 +75291,7 @@
    descendant of a <code><a href=#the-canvas-element>canvas</a></code> element that <a href=#represents>represents</a> <a href=#embedded-content>embedded
    content</a>.</li>
 
-   <li>Neither the element nor any of its ancestors are <a href=#inert>inert</a>.</li>
+   <li>The element is not <a href=#inert>inert</a>.</li>
 
    <li>The element is not <a href=#concept-element-disabled title=concept-element-disabled>disabled</a>.</li>
 
@@ -99932,7 +99935,7 @@
      <td> <a href=#attribute-text>Text</a>*
     <tr><th> <code title="">inert</code>
      <td> <a href=#the-inert-attribute title=attr-inert>HTML elements</a>
-     <td> Whether the element is inert
+     <td> Whether the element and its descendants are inert
      <td> <a href=#boolean-attribute>Boolean attribute</a>
     <tr><th> <code title="">inputmode</code>
      <td> <code title=attr-fe-inputmode><a href=#attr-fe-inputmode>input</a></code>;

Modified: source
===================================================================
--- source	2013-12-11 19:51:50 UTC (rev 8342)
+++ source	2013-12-11 21:23:36 UTC (rev 8343)
@@ -83838,8 +83838,9 @@
 
   <h3>Inert subtrees</h3>
 
-  <p>A subtree of a <code>Document</code> can be marked as <dfn>inert</dfn>. When a node or one of
-  its ancestors is <span>inert</span>, then the user agent must act as if the element was absent for
+<!--CLEANUP-->
+  <p>A node (in particular elements and text nodes) can be marked as <dfn>inert</dfn>. When a node 
+  is <span>inert</span>, then the user agent must act as if the node was absent for
   the purposes of targeting user interaction events, may ignore the node for the purposes of text
   search user interfaces (commonly known as "find in page"), and may prevent the user from selecting
   text in that node. User agents should allow the user to override the restrictions on search and
@@ -83852,14 +83853,15 @@
   data-x="event-mousemove">mousemove</code> and <code data-x="event-click">click</code> events would
   be fired on the <code>body</code> element rather than the paragraph.</p>
 
-  <p class="note">When a node or one of its ancestors is inert, it also can't be
+<!--CLEANUP-->
+  <p class="note">When a node is inert, it also can't be
   <span>focusable</span>, and it is disabled if it is a <span
   data-x="concept-command">command</span>.</p>
 
   <p>An entire <code>Document</code> can be marked as <dfn>blocked by a modal dialog</dfn> <var
   data-x="">subject</var>. While a <code>Document</code> is so marked, every node that is <span
   data-x="in a Document">in the <code>Document</code></span>, with the exception of the <var
-  data-x="">subject</var> element, its ancestors, and its descendants, must be marked
+  data-x="">subject</var> element and its descendants, must be marked
   <span>inert</span>. (The elements excepted by this paragraph can additionally be marked
   <span>inert</span> through other means; being part of a modal dialog does not "protect" a node
   from being marked <span>inert</span>.)</p>
@@ -83876,12 +83878,13 @@
   <h4>The <dfn data-x="attr-inert"><code>inert</code></dfn> attribute</h4>
 
   <p>The <code data-x="attr-inert">inert</code> attribute is a <span>boolean attribute</span> that
-  indicates, by its presence, that the element is to be made <span>inert</span>.</p>
+  indicates, by its presence, that the element and all its descendants is to be made
+  <span>inert</span>.</p>
 
   <div class="impl">
 
   <p>When an element has an <code data-x="attr-inert">inert</code> attribute, the user agent must
-  mark that element as <span>inert</span>.</p>
+  mark that element and all its descendants as <span>inert</span>.</p>
 
   </div>
 
@@ -84141,7 +84144,7 @@
    descendant of a <code>canvas</code> element that <span>represents</span> <span>embedded
    content</span>.</li>
 
-   <li>Neither the element nor any of its ancestors are <span>inert</span>.</li>
+   <li>The element is not <span>inert</span>.</li>
 
    <li>The element is not <span data-x="concept-element-disabled">disabled</span>.</li>
 
@@ -111465,7 +111468,7 @@
     <tr>
      <th> <code data-x="">inert</code>
      <td> <span data-x="attr-inert">HTML elements</span>
-     <td> Whether the element is inert
+     <td> Whether the element and its descendants are inert
      <td> <span>Boolean attribute</span>
     <tr>
      <th> <code data-x="">inputmode</code>




More information about the Commit-Watchers mailing list