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

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: Created 7 years, 1 month 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 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');

Powered by Google App Engine
This is Rietveld 408576698