Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: be959768ec9d9e06978395fdda566f23597d1ef7
      
https://github.com/WebKit/WebKit/commit/be959768ec9d9e06978395fdda566f23597d1ef7
  Author: Jer Noble <[email protected]>
  Date:   2026-08-24 (Mon, 24 Aug 2026)

  Changed paths:
    M LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt
    M LayoutTests/fast/quirks/active-quirks-by-domain.html
    M LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt
    M LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt
    M 
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt
    M 
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt
    M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
    M Source/WebCore/bindings/scripts/IDLAttributes.json
    M Source/WebCore/bindings/scripts/preprocess-idls.pl
    M Source/WebCore/dom/Document+Fullscreen.idl
    M Source/WebCore/dom/Element+Fullscreen.idl
    M Source/WebCore/page/Quirks.cpp

  Log Message:
  -----------
  [iPhone] Chess.com: video lessons cannot be put into fullscreen
rdar://147337918
https://bugs.webkit.org/show_bug.cgi?id=322217

Reviewed by Eric Carlson.

Chess.com uses the Element Fullscreen API, without a fallback when that API is 
not available. Add Chess.com
to the sites which redirect element.requestFullscreen() to the nearest 
appropriate video element.

To do so, add a new IDL qualifier: EnabledBySettingOrQuirk, which enables the 
API when either setting
or quirk is true.

* Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:
(NeedsRuntimeCheck):
(GenerateRuntimeEnableConditionalString):
* Source/WebCore/bindings/scripts/IDLAttributes.json:
* Source/WebCore/bindings/scripts/preprocess-idls.pl:
(GenerateConstructorAttributes):
* Source/WebCore/dom/Element+Fullscreen.idl:
* Source/WebCore/page/Quirks.cpp:
* LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/fast/quirks/active-quirks-by-domain.html:
* LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt:
* 
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt:
* 
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt:
* Source/WebCore/dom/Document+Fullscreen.idl:

Canonical link: https://commits.webkit.org/319748@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to