Skip to content

Commit d73ade0

Browse files
foolipannevk
authored andcommitted
Use Fullscreen's top layer's add/remove algorithms
1 parent 957fd0c commit d73ade0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

source

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3256,7 +3256,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
32563256
spec=FULLSCREEN></p>
32573257

32583258
<ul class="brief">
3259-
<li>The <dfn data-noexport="" data-x-href="https://fullscreen.spec.whatwg.org/#top-layer">top layer</dfn> concept</li>
3259+
<li><dfn data-noexport="" data-x-href="https://fullscreen.spec.whatwg.org/#top-layer">top layer</dfn> and its
3260+
<dfn data-noexport="" data-x="top-layer-add" data-x-href="https://fullscreen.spec.whatwg.org/#top-layer-add">add</dfn> and
3261+
<dfn data-noexport="" data-x="top-layer-remove" data-x-href="https://fullscreen.spec.whatwg.org/#top-layer-remove">remove</dfn> algorithms</li>
32603262
<li><dfn data-noexport="" data-x-href="https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen"><code data-x="dom-element-requestFullscreen">requestFullscreen()</code></dfn>
32613263
</ul>
32623264

@@ -56721,9 +56723,10 @@ interface <dfn>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
5672156723
<dfn>pending dialog stack</dfn>. When a <code>Document</code> is created, this stack must be
5672256724
initialized to be empty.</p>
5672356725

56724-
<p>When an element is added to the <span>pending dialog stack</span>, it must also be added to the
56725-
<span>top layer</span>. When an element is removed from the <span>pending dialog stack</span>, it
56726-
must be removed from the <span>top layer</span>. <ref spec=FULLSCREEN></p>
56726+
<p>When an element is added to the <span>pending dialog stack</span>, it must also be <span
56727+
data-x="top-layer-add">added</span> to the <span>top layer</span>. When an element is removed from
56728+
the <span>pending dialog stack</span>, it must be <span data-x="top-layer-remove">removed</span>
56729+
from the <span>top layer</span>. <ref spec=FULLSCREEN></p>
5672756730

5672856731
<p>When the <dfn><code data-x="dom-dialog-showModal">showModal()</code></dfn> method is invoked,
5672956732
the user agent must run the following steps:</p>

0 commit comments

Comments
 (0)