[html5] r8487 - [giow] (0) Focus the dialog for dialog.show() as well. Fixing https://www.w3.org [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Feb 20 14:49:11 PST 2014
Author: ianh
Date: 2014-02-20 14:49:10 -0800 (Thu, 20 Feb 2014)
New Revision: 8487
Modified:
complete.html
index
source
Log:
[giow] (0) Focus the dialog for dialog.show() as well.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24718
Affected topics: CSS, DOM APIs, HTML
Modified: complete.html
===================================================================
--- complete.html 2014-02-20 22:41:57 UTC (rev 8486)
+++ complete.html 2014-02-20 22:49:10 UTC (rev 8487)
@@ -47608,7 +47608,7 @@
user's attention. The <a href=#task-source>task source</a> for this task is the <a href=#user-interaction-task-source>user interaction task
source</a>.</li>
- </ol><p class=note>This handles the automatic focusing during document load. The <code title=dom-dialog-showModal><a href=#dom-dialog-showmodal>showModal()</a></code> method of <code><a href=#the-dialog-element>dialog</a></code> elements also
+ </ol><!--CLEANUP--><p class=note>This handles the automatic focusing during document load. The <code title=dom-dialog-show><a href=#dom-dialog-show>show()</a></code> and <code title=dom-dialog-showModal><a href=#dom-dialog-showmodal>showModal()</a></code> methods of <code><a href=#the-dialog-element>dialog</a></code> elements also
processes the <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code> attribute.</p>
<p class=note>Focusing the control does not imply that the user agent must focus the browser
@@ -52054,6 +52054,8 @@
<a href=#set-up-the-position>set up the position</a> of the <code><a href=#the-dialog-element>dialog</a></code> element, using that argument as the
anchor. Otherwise, set the <code><a href=#the-dialog-element>dialog</a></code> to the <a href=#normal-alignment>normal alignment</a> mode.</li>
+ <li><p>Run the <a href=#dialog-focusing-steps>dialog focusing steps</a> for the <code><a href=#the-dialog-element>dialog</a></code> element.</li>
+
</ol><hr><p>Each <code><a href=#document>Document</a></code> has a stack of <code><a href=#the-dialog-element>dialog</a></code> elements known as the
<dfn id=pending-dialog-stack>pending dialog stack</dfn>. When a <code><a href=#document>Document</a></code> is created, this stack must be
initialized to be empty.</p>
Modified: index
===================================================================
--- index 2014-02-20 22:41:57 UTC (rev 8486)
+++ index 2014-02-20 22:49:10 UTC (rev 8487)
@@ -47608,7 +47608,7 @@
user's attention. The <a href=#task-source>task source</a> for this task is the <a href=#user-interaction-task-source>user interaction task
source</a>.</li>
- </ol><p class=note>This handles the automatic focusing during document load. The <code title=dom-dialog-showModal><a href=#dom-dialog-showmodal>showModal()</a></code> method of <code><a href=#the-dialog-element>dialog</a></code> elements also
+ </ol><!--CLEANUP--><p class=note>This handles the automatic focusing during document load. The <code title=dom-dialog-show><a href=#dom-dialog-show>show()</a></code> and <code title=dom-dialog-showModal><a href=#dom-dialog-showmodal>showModal()</a></code> methods of <code><a href=#the-dialog-element>dialog</a></code> elements also
processes the <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code> attribute.</p>
<p class=note>Focusing the control does not imply that the user agent must focus the browser
@@ -52054,6 +52054,8 @@
<a href=#set-up-the-position>set up the position</a> of the <code><a href=#the-dialog-element>dialog</a></code> element, using that argument as the
anchor. Otherwise, set the <code><a href=#the-dialog-element>dialog</a></code> to the <a href=#normal-alignment>normal alignment</a> mode.</li>
+ <li><p>Run the <a href=#dialog-focusing-steps>dialog focusing steps</a> for the <code><a href=#the-dialog-element>dialog</a></code> element.</li>
+
</ol><hr><p>Each <code><a href=#document>Document</a></code> has a stack of <code><a href=#the-dialog-element>dialog</a></code> elements known as the
<dfn id=pending-dialog-stack>pending dialog stack</dfn>. When a <code><a href=#document>Document</a></code> is created, this stack must be
initialized to be empty.</p>
Modified: source
===================================================================
--- source 2014-02-20 22:41:57 UTC (rev 8486)
+++ source 2014-02-20 22:49:10 UTC (rev 8487)
@@ -52277,8 +52277,10 @@
</ol>
+<!--CLEANUP-->
<p class="note">This handles the automatic focusing during document load. The <code
- data-x="dom-dialog-showModal">showModal()</code> method of <code>dialog</code> elements also
+ data-x="dom-dialog-show">show()</code> and <code
+ data-x="dom-dialog-showModal">showModal()</code> methods of <code>dialog</code> elements also
processes the <code data-x="attr-fe-autofocus">autofocus</code> attribute.</p>
<p class="note">Focusing the control does not imply that the user agent must focus the browser
@@ -57509,6 +57511,8 @@
<span>set up the position</span> of the <code>dialog</code> element, using that argument as the
anchor. Otherwise, set the <code>dialog</code> to the <span>normal alignment</span> mode.</p></li>
+ <li><p>Run the <span>dialog focusing steps</span> for the <code>dialog</code> element.</p></li>
+
</ol>
<hr>
More information about the Commit-Watchers
mailing list