[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
Mon Jul 26 06:33:31 PDT 2010


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





--- Comment #3 from Adam Roben (aroben) <aroben at apple.com>  2010-07-26 06:33:30 PST ---
(In reply to comment #2)
> It looks like we should fix this in the screenDepth function in PlatformScreenWin.cpp.

Here's the screenDepth function: <http://trac.webkit.org/browser/trunk/WebCore/platform/win/PlatformScreenWin.cpp?rev=52791#L68>.

The problem is that deviceInfo.dmBitsPerPel is 32 rather than 24 as we expect. We should notice this and return 24 instead.

-- 
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