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

Unified Diff: LayoutTests/fast/css/overflow-rtl-border-after.html

Issue 18720003: Correct overflow propagation in BTT and RTL writing-modes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add FIXME, as requested. Created 7 years, 5 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/fast/css/overflow-rtl-border-after.html
diff --git a/LayoutTests/fast/css/overflow-rtl-border-after.html b/LayoutTests/fast/css/overflow-rtl-border-after.html
new file mode 100644
index 0000000000000000000000000000000000000000..7f2066e2d33e48757b0c946ef99cd5b70478f3c3
--- /dev/null
+++ b/LayoutTests/fast/css/overflow-rtl-border-after.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Border-after in vertical-rl mode, non-visible overflow</title>
+ <style>
+ body { color:black; background:white; }
+ #container {
+ -webkit-writing-mode: vertical-rl;
+ writing-mode: vertical-rl;
+ overflow:scroll;
+ width:100px;
+ border-left:150px solid white;
+ background:red;
+ }
+ #inner { width:200px; background:white; }
+ </style>
+ <script src="../../resources/check-layout.js"></script>
+ </head>
+ <body onload="checkLayout('#container'); container.scrollLeft = 1000;">
+ <!-- We have to set the scroll position, because of https://bugs.webkit.org/show_bug.cgi?id=76129
+ Furthermore, inner.scrollIntoView() doesn't work, so just set some insane left value.
+ This is just to make it look good; checkLayout() doesn't care. -->
+ <p>The word 'HEST' should be seen below, and there should be no red.</p>
+ <div id="container" data-expected-scroll-width="200">
+ <div id="inner">HEST</div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698