Skip to content

Commit

Permalink
[cssom-view] Enable element.checkVisibility() API by default
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=264464
rdar://118157977

Reviewed by Aditya Keerthi.

Enable this API by default so websites can optimize for content-visibility.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:

Canonical link: https://commits.webkit.org/270425@main
  • Loading branch information
nt1m committed Nov 9, 2023
1 parent e5bf2b8 commit a884b8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2413,17 +2413,17 @@ EditableLinkBehavior:

ElementCheckVisibilityEnabled:
type: bool
status: testable
status: stable
category: dom
humanReadableName: "element.checkVisibility() API"
humanReadableDescription: "Enable element.checkVisibility() API"
defaultValue:
WebKitLegacy:
default: false
default: true
WebKit:
default: false
default: true
WebCore:
default: false
default: true

EmbedElementEnabled:
type: bool
Expand Down

0 comments on commit a884b8e

Please sign in to comment.