Changeset 68884 in webkit
- Timestamp:
- Oct 1, 2010 6:30:29 AM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r68881 r68884 1 2010-10-01 Adam Roben <aroben@apple.com> 2 3 Make regression tests pass on machines with 16-bit displays 4 5 I made these tests require 24-bit displays in r68808 and r68809, 6 thinking that we didn't have any testers that had 16-bit displays. But 7 apparently I was wrong; at least one Windows tester has a 16-bit 8 display. 9 10 Fixes <http://webkit.org/b/46980> 11 fast/media/color-does-not-include-alpha.html failing on Windows 12 13 Reviewed by Nikolas Zimmermann. 14 15 * fast/dom/Window/window-screen-properties-expected.txt: Updated 16 results. 17 * fast/dom/Window/window-screen-properties.html: Changed to allow 18 either 16 or 24 bits. 19 * fast/media/color-does-not-include-alpha.html: Changed to allow 20 either 5 or 8 bits per channel. 21 1 22 2010-10-01 Csaba Osztrogonác <ossy@webkit.org> 2 23 -
trunk/LayoutTests/fast/dom/Window/window-screen-properties-expected.txt
r68808 r68884 1 PASS: window.screen.pixelDepth is 242 PASS: window.screen.colorDepth is 241 PASS: window.screen.pixelDepth is either 16 or 24 2 PASS: window.screen.colorDepth is either 16 or 24 -
trunk/LayoutTests/fast/dom/Window/window-screen-properties.html
r68808 r68884 3 3 layoutTestController.dumpAsText(); 4 4 depth = window.screen.pixelDepth; 5 if (depth == 24) {6 document.write("PASS: window.screen.pixelDepth is 24");5 if (depth == 16 || depth == 24) { 6 document.write("PASS: window.screen.pixelDepth is either 16 or 24"); 7 7 } else { 8 document.write("FAIL: window.screen.pixelDepth is " + depth + ", expected 24");8 document.write("FAIL: window.screen.pixelDepth is " + depth + ", expected 16 or 24"); 9 9 } 10 10 document.write("<br />"); 11 11 depth = window.screen.colorDepth; 12 if (depth == 24) {13 document.write("PASS: window.screen.colorDepth is 24");12 if (depth == 16 || depth == 24) { 13 document.write("PASS: window.screen.colorDepth is either 16 or 24"); 14 14 } else { 15 document.write("FAIL: window.screen.colorDepth is " + depth + ", expected 24");15 document.write("FAIL: window.screen.colorDepth is " + depth + ", expected 16 or 24"); 16 16 } 17 17 </script> -
trunk/LayoutTests/fast/media/color-does-not-include-alpha.html
r68809 r68884 6 6 background-color: red; 7 7 } 8 @media (color: 8) {8 @media (color:5), (color:8) { 9 9 #test { 10 10 background-color: green;
Note: See TracChangeset
for help on using the changeset viewer.