Title: [106378] trunk/LayoutTests
Revision
106378
Author
[email protected]
Date
2012-01-31 12:05:29 -0800 (Tue, 31 Jan 2012)

Log Message

[chromium] Fix css3/flexbox/cross-axis-scrollbar-expected to work on
chromium win.

The scrollbars overflow the bounds of the scrollbar rect (see bug 77368).
Work around this by using positioned elements and setting the z-index as
negative.  It didn't work previously because when the scrollbar was
positioned, it clipped the extra pixels.  Tested to verify that this works
on Chromium Win and Chromium Linux.

Unreviewed, test fix.

* css3/flexbox/cross-axis-scrollbar-expected.html:
* platform/chromium/test_expectations.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (106377 => 106378)


--- trunk/LayoutTests/ChangeLog	2012-01-31 20:00:37 UTC (rev 106377)
+++ trunk/LayoutTests/ChangeLog	2012-01-31 20:05:29 UTC (rev 106378)
@@ -1,3 +1,19 @@
+2012-01-31  Tony Chang  <[email protected]>
+
+        [chromium] Fix css3/flexbox/cross-axis-scrollbar-expected to work on
+        chromium win.
+
+        The scrollbars overflow the bounds of the scrollbar rect (see bug 77368).
+        Work around this by using positioned elements and setting the z-index as
+        negative.  It didn't work previously because when the scrollbar was
+        positioned, it clipped the extra pixels.  Tested to verify that this works
+        on Chromium Win and Chromium Linux.
+
+        Unreviewed, test fix.
+
+        * css3/flexbox/cross-axis-scrollbar-expected.html:
+        * platform/chromium/test_expectations.txt:
+
 2012-01-25  Eric Seidel  <[email protected]>
 
         HTMLIsIndexElement should not expose HTMLInputElement properties

Modified: trunk/LayoutTests/css3/flexbox/cross-axis-scrollbar-expected.html (106377 => 106378)


--- trunk/LayoutTests/css3/flexbox/cross-axis-scrollbar-expected.html	2012-01-31 20:00:37 UTC (rev 106377)
+++ trunk/LayoutTests/css3/flexbox/cross-axis-scrollbar-expected.html	2012-01-31 20:05:29 UTC (rev 106378)
@@ -22,47 +22,47 @@
 
 <div class="testcase" style="top:0; left: 0">
     <div style="width: 100px; height: 50px"></div>
-    <div style="width: 100px; overflow-x: scroll; position: relative; z-index: 1"></div>
+    <div style="width: 100px; overflow-x: scroll"></div>
     <div style="width: 100px; height: 10px; position: relative; z-index: -1"></div>
 </div>
 
 <div class="testcase" style="height: 50px; -webkit-writing-mode: vertical-lr; top: 0; left: 150px">
     <div style="width: 100px"></div>
-    <div style="overflow-y: scroll; position: relative; z-index: 1"></div>
+    <div style="overflow-y: scroll"></div>
     <div style="width: 10px; position: relative; z-index: -1"></div>
 </div>
 
 <div class="testcase" style="height: 50px; -webkit-writing-mode: vertical-lr; top: 0; left: 300px">
     <div style="width: 100px"></div>
-    <div style="overflow-y: scroll; position: relative; z-index: 1"></div>
+    <div style="overflow-y: scroll"></div>
     <div style="width: 10px; position: relative; z-index: -1"></div>
 </div>
 
 <div class="testcase" style="top: 0; left: 450px">
     <div style="width: 100px; height: 50px"></div>
-    <div style="width: 100px; overflow-x: scroll; position: relative; z-index: 1"></div>
+    <div style="width: 100px; overflow-x: scroll"></div>
     <div style="width: 100px; height: 10px; position: relative; z-index: -1"></div>
 </div>
 
 <div class="testcase" style="top: 100px; left: 0">
     <div style="width: 100px; height: 50px; "></div>
-    <div style="width: 100px; overflow-x: scroll; position: relative; z-index: 1"></div>
+    <div style="width: 100px; overflow-x: scroll"></div>
     <div style="width: 100px; height: 10px; position: relative; z-index: -1"></div>
 </div>
 
 <div class="testcase" style="height: 50px; -webkit-writing-mode: vertical-lr; top: 100px; left: 150px">
-    <div style="width: 90px; overflow-y: scroll; position: relative; z-index: 1"></div>
+    <div style="width: 90px; overflow-y: scroll"></div>
     <div style="width: 10px; position: relative; z-index: -1"></div>
 </div>
 
 <div class="testcase" style="top: 100px; left: 300px">
-    <div style="width: 100px; height: 40px; overflow-x: scroll; position: relative; z-index: 1"></div>
+    <div style="width: 100px; height: 40px; overflow-x: scroll"></div>
     <div style="width: 100px; height: 10px; position: relative; z-index: -1"></div>
 </div>
 
 <div class="testcase" style="height: 50px; -webkit-writing-mode: vertical-lr; top: 100px; left: 450px">
     <div style="width: 100px"></div>
-    <div style="overflow-y: scroll; position: relative; z-index: 1"></div>
+    <div style="overflow-y: scroll"></div>
     <div style="width: 10px; position: relative; z-index: -1"></div>
 </div>
 

Modified: trunk/LayoutTests/platform/chromium/test_expectations.txt (106377 => 106378)


--- trunk/LayoutTests/platform/chromium/test_expectations.txt	2012-01-31 20:00:37 UTC (rev 106377)
+++ trunk/LayoutTests/platform/chromium/test_expectations.txt	2012-01-31 20:05:29 UTC (rev 106378)
@@ -4028,7 +4028,6 @@
 
 BUGWK77303 : fast/js/reserved-words-strict.html = TEXT
 BUGWK77303 : fast/js/keywords-and-reserved_words.html = TEXT
-BUGWK77309 WIN : css3/flexbox/cross-axis-scrollbar.html = IMAGE
 
 BUGWK77310 : fast/js/navigator-language.html = PASS TEXT
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to