Re: [whatwg/fullscreen] Add keyboard locking option (PR #232)

@foolip commented on this pull request.



> @@ -392,6 +427,17 @@ are:
   <p class=note>The order in which elements are <a lt="fullscreen an element">fullscreened</a>
   is not observable, because <a>run the fullscreen steps</a> is invoked in <a>tree order</a>.
 
+ <li>
+  <p>Depending on the value of <var>options</var>["{{FullscreenOptions/keyboardLock}}"]:
+
+  <dl class=switch>
+   <dt>"{{FullscreenKeyboardLock/browser}}"</dt>
+   <dd><p>Set the [=keyboard lock flag=] for <a>this</a> to true.

```suggestion
   <dd><p>Se <a>this</a>'s [=keyboard lock flag=].
```

> @@ -392,6 +427,17 @@ are:
   <p class=note>The order in which elements are <a lt="fullscreen an element">fullscreened</a>
   is not observable, because <a>run the fullscreen steps</a> is invoked in <a>tree order</a>.
 
+ <li>
+  <p>Depending on the value of <var>options</var>["{{FullscreenOptions/keyboardLock}}"]:
+
+  <dl class=switch>
+   <dt>"{{FullscreenKeyboardLock/browser}}"</dt>
+   <dd><p>Set the [=keyboard lock flag=] for <a>this</a> to true.
+
+   <dt>"{{FullscreenKeyboardLock/none}}"</dt>
+   <dd><p>Set the [=keyboard lock flag=] for <a>this</a> to false.

```suggestion
   <dd><p>Unset <a>this</a>'s [=keyboard lock flag=].
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/pull/232#pullrequestreview-4220446522
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fullscreen/pull/232/review/4220446522@github.com>

Received on Monday, 4 May 2026 13:28:53 UTC