From 8e4b4db97841b827738fc3446d621a9bbbfc1879 Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Mon, 19 Dec 2022 08:53:03 -0800 Subject: [PATCH 1/2] Remove retargeting from :fullscreen pseudo-class --- fullscreen.bs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/fullscreen.bs b/fullscreen.bs index 269c133..b778a4b 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -656,17 +656,11 @@ properties apply to this pseudo-element either.

:fullscreen pseudo-class

The :fullscreen pseudo-class must match any -element element for which one of the following conditions is true: - -

+element element for which

element's fullscreen flag is set.

This makes it different from the {{DocumentOrShadowRoot/fullscreenElement}} API, which returns the topmost fullscreen element. +It also does not perform retargeting.

User-agent level style sheet defaults

From e36d7c124ca456cf09258eddcac48261a1183709 Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Mon, 19 Dec 2022 09:14:01 -0800 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Anne van Kesteren --- fullscreen.bs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fullscreen.bs b/fullscreen.bs index b778a4b..7ae8a93 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -656,11 +656,10 @@ properties apply to this pseudo-element either.

:fullscreen pseudo-class

The :fullscreen pseudo-class must match any -element element for which

element's fullscreen flag is set. +element whose fullscreen flag is set. -

This makes it different from the -{{DocumentOrShadowRoot/fullscreenElement}} API, which returns the topmost fullscreen element. -It also does not perform retargeting. +

This makes it different from the {{DocumentOrShadowRoot/fullscreenElement}} API, +which returns the topmost fullscreen element. It also does not perform retargeting.

User-agent level style sheet defaults