[Webkit-unassigned] [Bug 42972] New: 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:22:34 PDT 2010


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

           Summary: screen.colorDepth and screen.pixelDepth return 32 on
                    Windows, but should return 24 (according to CSSOM View
                    and Firefox)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: NeedsRadar, PlatformOnly
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com
                CC: hyatt at apple.com, darin at apple.com, ap at webkit.org,
                    annevankesteren+webkit at gmail.com


To reproduce:

1. Load this URL: javascript:alert(screen.colorDepth + "\n" + screen.pixelDepth)

Both values are 32. But according to CSSOM View [1], they should be 24. Firefox returns 24. WebKit returns 24 on Mac, too.

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