WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
286713
Add way to check whether iframe's owner element may follow dark appearance
https://bugs.webkit.org/show_bug.cgi?id=286713
Summary
Add way to check whether iframe's owner element may follow dark appearance
Basuke Suzuki
Reported
2025-01-29 15:42:31 PST
Need to detect iframe element in main document may respond to dark appearance in CSS or document’s meta tag. Add `Document::colorScheme(RenderStyle*) const` to get the element's color scheme to check which scheme is ready to be used for the element.
Attachments
Add attachment
proposed patch, testcase, etc.
Basuke Suzuki
Comment 1
2025-01-29 15:42:37 PST
rdar://143827621
Basuke Suzuki
Comment 2
2025-01-29 15:44:42 PST
Pull request:
https://github.com/WebKit/WebKit/pull/39725
EWS
Comment 3
2025-01-31 10:20:37 PST
Committed
289613@main
(f99fba6f4b88): <
https://commits.webkit.org/289613@main
> Reviewed commits have been landed. Closing PR #39725 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug