Commit 97559abe authored by tony@chromium.org's avatar tony@chromium.org

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0d303add
2012-01-31 Tony Chang <tony@chromium.org>
[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 <eric@webkit.org>
HTMLIsIndexElement should not expose HTMLInputElement properties
......@@ -22,47 +22,47 @@ This test passes if no red is showing.
<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>
......
......@@ -4028,7 +4028,6 @@ BUGWK77188 MAC GPU : fast/canvas/gradient-add-second-start-end-stop.html = IMAGE
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment