Bug 265021

Summary: colorDepth returns '0' on detached frame
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: CSSAssignee: Anne van Kesteren <annevk>
Status: RESOLVED FIXED    
Severity: Normal CC: annevk, webkit-bug-importer
Priority: P2 Keywords: InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-11-17 03:35:17 PST
Hi Team,

While exploring WPT failures, I noticed that we fail following test:

WPT Test Case: https://wpt.fyi/results/css/cssom-view/screen-detached-frame.html?label=experimental&label=master&aligned=

WPT Test Live Link: http://wpt.live/css/cssom-view/screen-detached-frame.html

We fail at:

assert_equals: colorDepth expected 24 but got 0

Just wanted to raise so we can fix this test case.

Thanks!
Comment 1 Anne van Kesteren 2023-11-18 23:54:46 PST
Pull request: https://github.com/WebKit/WebKit/pull/20718
Comment 2 EWS 2023-11-19 09:23:05 PST
Committed 270952@main (34925ea7ad80): <https://commits.webkit.org/270952@main>

Reviewed commits have been landed. Closing PR #20718 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-11-19 09:24:14 PST
<rdar://problem/118624612>