-
darin authored
Reviewed by Hyatt Tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=8646 Test the window.screen.pixelDepth and window.screen.colorDepth * fast/dom/window/window-screen-properties.html: Added * fast/dom/window/window-screen-properties-expected.txt: Added. WebCore: Reviewed by Hyatt. Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8646 Correcting the value returned for window.screen.pixelDepth and window.screen.colorDepth * platform/mac/ScreenMac.mm (screenDepth): Changed to return the BitsPerPixelFromDepth rather than the WindowDepth git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7869e236