diff --git a/index.html b/index.html index 0ef0762..5245573 100644 --- a/index.html +++ b/index.html @@ -677,7 +677,10 @@

`null`, [=reject and nullify the current lock promise=] of |document| with an {{"AbortError"}}. -
  • Let |topDocument| be |document|'s [=top-level traversable=]'s +
  • [=In parallel=], if any [=pre-lock conditions=] are no longer met, + run the [=fully unlock the screen orientation steps=] with |document|. +
  • +
  • Let |topDocument| be |document|'s [=top-level browsing context=]'s [=navigable/active document=].
  • Let |descendantDocs| be an [=ordered set=] consisting of @@ -879,10 +882,15 @@

    A user agent MUST restrict the use of {{ScreenOrientation/lock()}} to - simple fullscreen documents as a [=pre-lock condition=]. This + [=simple fullscreen documents=] as a [=pre-lock condition=]. This requirement prevents fingerprinting through differences in user agent behavior regarding orientation locking permissions. [[fullscreen]]

    +

    + If a [=document=] [=Document/has pending fullscreen request=], the user + agent MUST await the [=Document/pending fullscreen request promise=] + before evaluating the [=pre-lock conditions=]. [[fullscreen]] +

    When a [=document=] exits fullscreen, it also runs the [=fully unlock the screen orientation steps=]. [[fullscreen]]