From e18ca6d324d3e6ba6d3d0365313e99efc8a3b66c Mon Sep 17 00:00:00 2001 From: Vincent Hilla Date: Tue, 24 Mar 2026 13:29:39 +0100 Subject: [PATCH] Upstream Document Picture-in-Picture changes to "fullscreen is supported" --- fullscreen.bs | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/fullscreen.bs b/fullscreen.bs index 16ad739..bcb809e 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -146,8 +146,16 @@ these steps:
-

Fullscreen is supported if there is no previously-established user preference, -security risk, or platform limitation. +

Fullscreen is supported for a {{Window}} window +returns true if all of the following are true, and false otherwise: + +


@@ -230,7 +238,7 @@ partial interface mixin DocumentOrShadowRoot {
document . {{Document/fullscreenEnabled}}

Returns true if document has the ability to display elements fullscreen - and fullscreen is supported, or false otherwise. + and fullscreen is supported for its associated {{Window}}, or false otherwise.

promise = document . {{Document/exitFullscreen()}}

Stops document's fullscreen element from being displayed fullscreen and @@ -286,7 +294,7 @@ are:

  • The fullscreen element ready check for this returns true. -

  • Fullscreen is supported. +

  • Fullscreen is supported for pendingDoc's relevant global object.

  • This's relevant global object has transient activation or the algorithm is triggered by a user generated orientation change. @@ -401,8 +409,8 @@ to the reader. Input welcome on potential improvements.

    The fullscreenEnabled getter steps are to return true if this is allowed to use the "fullscreen" feature and fullscreen is supported, and -false otherwise. +data-lt="fullscreen-feature">fullscreen" feature and fullscreen is supported for +this's relevant global object, and false otherwise.

    The fullscreen getter steps are to return false if this's fullscreen element is null, and true otherwise. @@ -732,6 +740,7 @@ Tab Atkins-Bittner, Takayoshi Kochi, Theresa O'Connor, triple-underscore, +Vincent Hilla, Vincent Scheib, and Xidorn Quan for also being awesome.