diff --git a/fullscreen.bs b/fullscreen.bs index e98c7f4..4ffb252 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -168,6 +168,7 @@ enum FullscreenNavigationUI { dictionary FullscreenOptions { FullscreenNavigationUI navigationUI = "auto"; + OrientationLockType orientation; }; partial interface Element { @@ -206,6 +207,11 @@ partial interface mixin DocumentOrShadowRoot { free to honor user preference over the application's. The default value "{{FullscreenNavigationUI/auto}}" indicates no application preference. + When supplied, options's {{FullscreenOptions/orientation}} member indicates whether + the screen should be locked to the given [=screen orientation=]. User agents are always + free to honor user preference over the application's. When the value is missing, + no orientation lock is applied. +
document . {{Document/fullscreenEnabled}}

Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. @@ -269,10 +275,7 @@ are:

  • Return promise, and run the remaining steps in parallel.

  • -

    If error is false, then resize pendingDoc's node navigable's - top-level traversable's active document's viewport's - dimensions, optionally taking into account - options["{{FullscreenOptions/navigationUI}}"]: + options["{{FullscreenOptions/orientation}}"] and options["{{FullscreenOptions/navigationUI}}"]: