commit | 7869e2369db3b7f6d8610eafcb8eb15cdc2ec2f0 | [log] [tgz] |
---|---|---|
author | darin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Jun 02 05:46:37 2006 +0000 |
committer | darin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Jun 02 05:46:37 2006 +0000 |
tree | b487623bce190f56166b845467f08f407fce31c8 | |
parent | c1b44a3c660e40387b99343721c02b845c72928b [diff] |
LayoutTests: 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