Bug 254670

Summary: Remove Quirks::needsHDRPixelDepthQuirk()
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: DOMAssignee: 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   

Description Anne van Kesteren 2023-03-29 09:14:21 PDT
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)))
Comment 1 Radar WebKit Bug Importer 2023-03-29 09:24:35 PDT
<rdar://problem/107370756>
Comment 2 Anne van Kesteren 2023-03-29 09:26:27 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12119
Comment 3 EWS 2023-03-30 08:51:15 PDT
Committed 262330@main (95d938e7a998): <https://commits.webkit.org/262330@main>

Reviewed commits have been landed. Closing PR #12119 and removing active labels.