Bug 254670
| Summary: | Remove Quirks::needsHDRPixelDepthQuirk() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anne van Kesteren <annevk> |
| Component: | DOM | Assignee: | Anne van Kesteren <annevk> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Anne van Kesteren
Code inspection shows YouTube no longer needs it:
> if (b.video
> && (b.video.isHdr() || "bt2020" === b.video.primaries)
> && !(DD(a, ED.EOTF) || window.matchMedia && (window.matchMedia("(dynamic-range: high), (video-dynamic-range: high)").matches
> || 24 < window.screen.pixelDepth && window.matchMedia("(color-gamut: p3)").matches)))
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107370756>
Anne van Kesteren
Pull request: https://github.com/WebKit/WebKit/pull/12119
EWS
Committed 262330@main (95d938e7a998): <https://commits.webkit.org/262330@main>
Reviewed commits have been landed. Closing PR #12119 and removing active labels.