Bug 286713

Summary: Add way to check whether iframe's owner element may follow dark appearance
Product: WebKit Reporter: Basuke Suzuki <basuke>
Component: New BugsAssignee: Basuke Suzuki <basuke>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Basuke Suzuki
Comment 1 2025-01-29 15:42:37 PST
Basuke Suzuki
Comment 2 2025-01-29 15:44:42 PST
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.