Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html

Issue 25373006: Correction to layoutOverflowRect in case of direction:rtl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added expected result file Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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');

Powered by Google App Engine
This is Rietveld 408576698