Skip to content
Permalink
Browse files

[giow] (0) Drop the inert='' attribute since its use case is subsumed…

… 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 5ddfc78b1f82e86cc202d72ccc752a0e15f1e4ad
Showing with 4 additions and 99 deletions.
  1. +2 −34 complete.html
  2. +2 −34 index
  3. +0 −31 source

<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>
<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>

// <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>();
<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>
<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>
<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>
36 index

<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>
<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>

// <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>();
<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>
<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>
<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>
31 source

// <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>();
<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>
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>
<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>;

0 comments on commit 5ddfc78

Please sign in to comment.
You can’t perform that action at this time.