Bug 286713
| Summary: | Add way to check whether iframe's owner element may follow dark appearance | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Basuke Suzuki <basuke> |
| Component: | New Bugs | Assignee: | 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
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
rdar://143827621
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/39725
EWS
Committed 289613@main (f99fba6f4b88): <https://commits.webkit.org/289613@main>
Reviewed commits have been landed. Closing PR #39725 and removing active labels.