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

Unified Diff: LayoutTests/scrollbars/rtl/overflow-scroll-rtl.html

Issue 285293007: Fix layoutOverflowRect in case of explicit 'overflow: scroll', but no overflow content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 7 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/overflow-scroll-rtl.html
diff --git a/LayoutTests/scrollbars/rtl/overflow-scroll-rtl.html b/LayoutTests/scrollbars/rtl/overflow-scroll-rtl.html
new file mode 100644
index 0000000000000000000000000000000000000000..fde95a07256a73d5062f27991233aff49768a6ea
--- /dev/null
+++ b/LayoutTests/scrollbars/rtl/overflow-scroll-rtl.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html style="font-family: ahem; font-size: 10px; -webkit-font-smoothing: none;">
+<head>
+<script>
+function runTest() {
+ if (window.internals)
+ internals.settings.setMockScrollbarsEnabled(true);
+
+ if (window.testRunner)
+ testRunner.dumpAsTextWithPixelResults();
+}
+</script>
+</head>
+<body onload="runTest();">
+<p>All the digits from 0 to 9 should be visible.</p>
+<div id="outer" style="direction: rtl; background-color: blue; width: 200px; height: 200px; overflow: scroll;">
+ <div id="inner" style="background-color: lightgreen;">0123456789</div>
+</div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698