Skip to content

Commit

Permalink
[giow] (0) Drop the inert='' attribute since its use case is subsumed…
Browse files Browse the repository at this point in the history
… by <dialog>.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24983
Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@8536 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 10, 2014
1 parent 30181cd commit 5ddfc78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 99 deletions.
36 changes: 2 additions & 34 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 March 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 10 March 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -1068,9 +1068,7 @@ <h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 March 2014</h2>
<li><a href=#editing><span class=secno>8 </span>User interaction</a>
<ol>
<li><a href=#the-hidden-attribute><span class=secno>8.1 </span>The <code>hidden</code> attribute</a></li>
<li><a href=#inert-subtrees><span class=secno>8.2 </span>Inert subtrees</a>
<ol>
<li><a href=#the-inert-attribute><span class=secno>8.2.1 </span>The <code>inert</code> attribute</a></ol></li>
<li><a href=#inert-subtrees><span class=secno>8.2 </span>Inert subtrees</a></li>
<li><a href=#activation><span class=secno>8.3 </span>Activation</a></li>
<li><a href=#focus><span class=secno>8.4 </span>Focus</a>
<ol>
Expand Down Expand Up @@ -9451,7 +9449,6 @@ <h4 id=elements-in-the-dom><span class=secno>3.2.2 </span>Elements in the DOM</h

// <a href=#editing>user interaction</a>
attribute boolean <a href=#dom-hidden title=dom-hidden>hidden</a>;
attribute boolean <a href=#dom-inert title=dom-inert>inert</a>;
void <a href=#dom-click title=dom-click>click</a>();
attribute long <a href=#dom-tabindex title=dom-tabindex>tabIndex</a>;
void <a href=#dom-focus title=dom-focus>focus</a>();
Expand Down Expand Up @@ -10322,7 +10319,6 @@ <h4 id=global-attributes><span class=secno>3.2.5 </span><dfn>Global attributes</
<li><code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code></li>
<li><code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code></li>
<li><code title=attr-id><a href=#the-id-attribute>id</a></code></li>
<li><code title=attr-inert><a href=#the-inert-attribute>inert</a></code></li>
<li><code title=attr-itemid><a href=#attr-itemid>itemid</a></code></li>
<li><code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code></li>
<li><code title=attr-itemref><a href=#attr-itemref>itemref</a></code></li>
Expand Down Expand Up @@ -76149,30 +76145,6 @@ <h3 id=inert-subtrees><span class=secno>8.2 </span>Inert subtrees</h3>
<p class=note>The <code><a href=#the-dialog-element>dialog</a></code> element's <code title=dom-dialog-showModal><a href=#dom-dialog-showmodal>showModal()</a></code> method makes use of this mechanism.</p>


<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 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 and all its descendants as <a href=#inert>inert</a>.</p>

</div>

<p class=note>By default, there is no visual indication of a subtree being inert. Authors are
encouraged to clearly mark what parts of their document are active and which are inert, to avoid
user confusion. In particular, it is worth remembering that not all users can see all parts of a
page at once; for example, users of screen readers, users on small devices or with magnifiers, and
even users just using particularly small windows might not be able to see the active part of a
page and may get frustrated if inert sections are not obviously inert. For individual controls,
the <code title=attr-input-disabled>disabled</code> attribute is probably more appropriate.</p>

<p>The <dfn id=dom-inert title=dom-inert><code>inert</code></dfn> IDL attribute must <a href=#reflect>reflect</a> the
content attribute of the same name.</p>



<h3 id=activation><span class=secno>8.3 </span>Activation</h3>
Expand Down Expand Up @@ -101975,10 +101947,6 @@ <h3 class=no-num id=attributes-1>Attributes</h3>
<td> <a href=#the-id-attribute title=attr-id>HTML elements</a>
<td> The element's <a href=#concept-id title=concept-id>ID</a>
<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 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>;
<code title=attr-fe-inputmode><a href=#attr-fe-inputmode>textarea</a></code>
Expand Down
36 changes: 2 additions & 34 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 March 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 10 March 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -1068,9 +1068,7 @@
<li><a href=#editing><span class=secno>8 </span>User interaction</a>
<ol>
<li><a href=#the-hidden-attribute><span class=secno>8.1 </span>The <code>hidden</code> attribute</a></li>
<li><a href=#inert-subtrees><span class=secno>8.2 </span>Inert subtrees</a>
<ol>
<li><a href=#the-inert-attribute><span class=secno>8.2.1 </span>The <code>inert</code> attribute</a></ol></li>
<li><a href=#inert-subtrees><span class=secno>8.2 </span>Inert subtrees</a></li>
<li><a href=#activation><span class=secno>8.3 </span>Activation</a></li>
<li><a href=#focus><span class=secno>8.4 </span>Focus</a>
<ol>
Expand Down Expand Up @@ -9451,7 +9449,6 @@ partial /*sealed*/ interface <dfn id=document>Document</dfn> {

// <a href=#editing>user interaction</a>
attribute boolean <a href=#dom-hidden title=dom-hidden>hidden</a>;
attribute boolean <a href=#dom-inert title=dom-inert>inert</a>;
void <a href=#dom-click title=dom-click>click</a>();
attribute long <a href=#dom-tabindex title=dom-tabindex>tabIndex</a>;
void <a href=#dom-focus title=dom-focus>focus</a>();
Expand Down Expand Up @@ -10322,7 +10319,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<li><code title=attr-dropzone><a href=#the-dropzone-attribute>dropzone</a></code></li>
<li><code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code></li>
<li><code title=attr-id><a href=#the-id-attribute>id</a></code></li>
<li><code title=attr-inert><a href=#the-inert-attribute>inert</a></code></li>
<li><code title=attr-itemid><a href=#attr-itemid>itemid</a></code></li>
<li><code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code></li>
<li><code title=attr-itemref><a href=#attr-itemref>itemref</a></code></li>
Expand Down Expand Up @@ -76149,30 +76145,6 @@ loadMySprites().then(runDemo);</pre>
<p class=note>The <code><a href=#the-dialog-element>dialog</a></code> element's <code title=dom-dialog-showModal><a href=#dom-dialog-showmodal>showModal()</a></code> method makes use of this mechanism.</p>


<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 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 and all its descendants as <a href=#inert>inert</a>.</p>

</div>

<p class=note>By default, there is no visual indication of a subtree being inert. Authors are
encouraged to clearly mark what parts of their document are active and which are inert, to avoid
user confusion. In particular, it is worth remembering that not all users can see all parts of a
page at once; for example, users of screen readers, users on small devices or with magnifiers, and
even users just using particularly small windows might not be able to see the active part of a
page and may get frustrated if inert sections are not obviously inert. For individual controls,
the <code title=attr-input-disabled>disabled</code> attribute is probably more appropriate.</p>

<p>The <dfn id=dom-inert title=dom-inert><code>inert</code></dfn> IDL attribute must <a href=#reflect>reflect</a> the
content attribute of the same name.</p>



<h3 id=activation><span class=secno>8.3 </span>Activation</h3>
Expand Down Expand Up @@ -101975,10 +101947,6 @@ if (s = prompt('What is your name?')) {
<td> <a href=#the-id-attribute title=attr-id>HTML elements</a>
<td> The element's <a href=#concept-id title=concept-id>ID</a>
<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 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>;
<code title=attr-fe-inputmode><a href=#attr-fe-inputmode>textarea</a></code>
Expand Down
31 changes: 0 additions & 31 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -9231,7 +9231,6 @@ partial /*sealed*/ interface <dfn>Document</dfn> {

// <span>user interaction</span>
attribute boolean <span data-x="dom-hidden">hidden</span>;
attribute boolean <span data-x="dom-inert">inert</span>;
void <span data-x="dom-click">click</span>();
attribute long <span data-x="dom-tabindex">tabIndex</span>;
void <span data-x="dom-focus">focus</span>();
Expand Down Expand Up @@ -10153,7 +10152,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<li><code data-x="attr-dropzone">dropzone</code></li>
<li><code data-x="attr-hidden">hidden</code></li>
<li><code data-x="attr-id">id</code></li>
<li><code data-x="attr-inert">inert</code></li>
<li><code data-x="attr-itemid">itemid</code></li>
<li><code data-x="attr-itemprop">itemprop</code></li>
<li><code data-x="attr-itemref">itemref</code></li>
Expand Down Expand Up @@ -85174,30 +85172,6 @@ loadMySprites().then(runDemo);</pre>
data-x="dom-dialog-showModal">showModal()</code> method makes use of this mechanism.</p>


<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 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 and all its descendants as <span>inert</span>.</p>

</div>

<p class="note">By default, there is no visual indication of a subtree being inert. Authors are
encouraged to clearly mark what parts of their document are active and which are inert, to avoid
user confusion. In particular, it is worth remembering that not all users can see all parts of a
page at once; for example, users of screen readers, users on small devices or with magnifiers, and
even users just using particularly small windows might not be able to see the active part of a
page and may get frustrated if inert sections are not obviously inert. For individual controls,
the <code data-x="attr-input-disabled">disabled</code> attribute is probably more appropriate.</p>

<p>The <dfn data-x="dom-inert"><code>inert</code></dfn> IDL attribute must <span>reflect</span> the
content attribute of the same name.</p>



<h3>Activation</h3>
Expand Down Expand Up @@ -113855,11 +113829,6 @@ if (s = prompt('What is your name?')) {
<td> <span data-x="attr-id">HTML elements</span>
<td> The element's <span data-x="concept-id">ID</span>
<td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code data-x="">inert</code>
<td> <span data-x="attr-inert">HTML elements</span>
<td> Whether the element and its descendants are inert
<td> <span>Boolean attribute</span>
<tr>
<th> <code data-x="">inputmode</code>
<td> <code data-x="attr-fe-inputmode">input</code>;
Expand Down

0 comments on commit 5ddfc78

Please sign in to comment.