Index: LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html |
diff --git a/LayoutTests/scrollbars/rtl/div-horizontal.html b/LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html |
similarity index 76% |
copy from LayoutTests/scrollbars/rtl/div-horizontal.html |
copy to LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html |
index a5e44300c7dbf251b911dca488aa00780a0ac624..f7b34ff1cec78d0aa521f4017b5386920cdda449 100644 |
--- a/LayoutTests/scrollbars/rtl/div-horizontal.html |
+++ b/LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html |
@@ -5,14 +5,14 @@ |
<script src="../../fast/js/resources/js-test-pre.js"></script> |
</head> |
<body dir="ltr"> |
-<div dir="ltr" id="outer-ltr" style="width: 200px; height: 200px; overflow: scroll;"> |
-<div id="inner-ltr" style="text-align: left; width: 300px; height: 300px;">ABC</div> |
+<div dir="ltr" id="outer-ltr" style="width: 200px; height: 200px; overflow: auto;"> |
+<div id="inner-ltr" style="text-align: left; width: 195px; height: 300px;">ABC</div> |
</div> |
-<div dir="rtl" id="outer-rtl" style="width: 200px; height: 200px; overflow: scroll;"> |
-<div id="inner-rtl" style="text-align: left; width: 300px; height: 300px;">ABC</div> |
+<div dir="rtl" id="outer-rtl" style="width: 200px; height: 200px; overflow: auto;"> |
+<div id="inner-rtl" style="text-align: left; width: 195px; height: 300px;">ABC</div> |
</div> |
<script type="text/javascript"> |
-description('Test if WebKit can show the left side of the inner elements regardless of the position of its scrollbars. To test manually, open this document and verify we can see "ABC" both in the LTR element and in the RTL element.'); |
+description('Test that horizontal scrollbar should appear as the content width encroaches upon the vertical scrollbar and also test if WebKit can show the left side of the inner elements regardless of the position of its scrollbars. To test manually, open this document and verify we can see "ABC" both in the LTR element and in the RTL element.'); |
var outerLTR = document.getElementById('outer-ltr'); |
var innerLTR = document.getElementById('inner-ltr'); |