Skip to content

Commit

Permalink
Only unlock top-level docs (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres authored Oct 27, 2022
1 parent de47b7c commit 975c556
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -855,9 +855,16 @@ <h2>
</h2>
<p>
Whenever the [=unloading document cleanup steps=] run with a
|document|, the user agent MUST run the [=fully unlock the screen
orientation steps=] with |document|.
|document|, the user agent MUST run the following steps:
</p>
<ol class="algorithm">
<li>If |document| is not a [=top-level browsing context=]'s [=active
document=], abort these steps.
</li>
<li>Run the [=fully unlock the screen orientation steps=] with
|document|.
</li>
</ol>
<h2>
Fully unlocking the orientation
</h2>
Expand Down

0 comments on commit 975c556

Please sign in to comment.