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 75% |
copy from LayoutTests/scrollbars/rtl/div-horizontal.html |
copy to LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html |
index e2ff7f8b67e69f096779e4a10fcfa272ee3d4226..5c59fcbf7d4950e77e5f05904d60c7d19e80dfce 100644 |
--- a/LayoutTests/scrollbars/rtl/div-horizontal.html |
+++ b/LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html |
@@ -1,18 +1,17 @@ |
<!DOCTYPE html> |
<html> |
<head> |
-<title>Bug 85856</title> |
<script src="../../resources/js-test.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'); |