[Webkit-unassigned] [Bug 244845] New: [iOS] screen.colorDepth reports incorrect value
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 6 07:59:59 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=244845
Bug ID: 244845
Summary: [iOS] screen.colorDepth reports incorrect value
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ajuma at chromium.org
CC: annevk at annevk.nl, dino at apple.com
On iOS, screen.colorDepth is hard-coded to return 32 (see https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/ios/PlatformScreenIOS.mm#L52).
However, according to the spec (https://drafts.csswg.org/cssom-view/#dom-screen-colordepth), the return value is meant to be the number of bits allocated to colors, excluding the alpha channel, so 32 seems generally incorrect.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220906/8431407b/attachment.htm>
More information about the webkit-unassigned
mailing list