diff --git a/index.html b/index.html index 0ef0762..8399eca 100644 --- a/index.html +++ b/index.html @@ -703,6 +703,11 @@

not `null`, [=reject and nullify the current lock promise=] of |document| with an {{"AbortError"}} and abort these steps. +
  • If |document|'s [=Document/visibility state=] becomes "hidden", and + if the |document|'s {{Document/[[orientationPendingPromise]]}} is + not `null`, [=reject and nullify the current lock promise=] of + |document| with an {{"AbortError"}} and abort these steps. +
  • If |orientation| is `null`, [=unlock the screen orientation=].
  • Otherwise, attempt to [=lock the screen orientation=] to