Skip to content

Commit c8164af

Browse files
foolipannevk
authored andcommitted
Editorial: update variable name in removing steps
https://dom.spec.whatwg.org/#concept-node-remove-ext uses removedNode and an optional oldParent, which isn't used by Fullscreen. Drive-by: drop unnecessary "run these substeps".
1 parent 50efe97 commit c8164af

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

fullscreen.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,15 @@ its <a>node document</a>'s <a>top layer</a>.
9797
<li><p><a>Exit fullscreen</a> <var>document</var>.
9898
</ol>
9999

100-
<p>Whenever the <a>removing steps</a> run with an <var>oldNode</var>, run these steps:
100+
<p>Whenever the <a>removing steps</a> run with a <var>removedNode</var>, run these steps:
101101

102102
<ol>
103-
<li><p>Let <var>nodes</var> be <var>oldNode</var>'s <a>shadow-including inclusive descendants</a>
104-
that have their <a>fullscreen flag</a> set, in <a>shadow-including tree order</a>.
103+
<li><p>Let <var>nodes</var> be <var>removedNode</var>'s
104+
<a>shadow-including inclusive descendants</a> that have their <a>fullscreen flag</a> set, in
105+
<a>shadow-including tree order</a>.
105106

106107
<li>
107-
<p><a>For each</a> <var>node</var> in <var>nodes</var>, run these substeps:
108+
<p><a>For each</a> <var>node</var> in <var>nodes</var>:
108109

109110
<ol>
110111
<li><p>If <var>node</var> is its <a>node document</a>'s <a>fullscreen element</a>,

0 commit comments

Comments
 (0)