[Webkit-unassigned] [Bug 42972] screen.colorDepth and screen.pixelDepth return 32 on Windows, but should return 24 (according to CSSOM View and Firefox)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 29 14:44:57 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42972





--- Comment #8 from Adam Roben (aroben) <aroben at apple.com>  2010-09-29 14:44:57 PST ---
(In reply to comment #7)
> (From update of attachment 69249 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=69249&action=review
> 
> > LayoutTests/fast/dom/Window/window-screen-properties.html:6
> > +if (depth == 16 || depth == 24) {
> > +  document.write("PASS: window.screen.pixelDepth is either 16 or 24");
> 
> Hm, is 16 really an OK value? I guess that could mean 6+5+5 or something, but that seems strange.

http://en.wikipedia.org/wiki/Color_depth#HighColor says that is exactly what happens (6 bits for green, 5 for red, 5 for blue). That page also implies we should be allowing many more values.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list