Index: LayoutTests/fast/css/overflow-btt-border-after.html |
diff --git a/LayoutTests/fast/css/overflow-btt-border-after.html b/LayoutTests/fast/css/overflow-btt-border-after.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c07c6256370e332231519f764d3adf310c677234 |
--- /dev/null |
+++ b/LayoutTests/fast/css/overflow-btt-border-after.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>Border-after in horizontal-bt mode, non-visible overflow</title> |
+ <style> |
+ body { color:black; background:white; } |
+ #container { |
+ -webkit-writing-mode: horizontal-bt; |
+ overflow:scroll; |
+ height:100px; |
+ border-top:150px solid white; |
+ background:red; |
+ } |
+ #inner { height:200px; background:white; } |
+ </style> |
+ <script src="../../resources/check-layout.js"></script> |
+ </head> |
+ <body onload="checkLayout('#container'); inner.scrollIntoView();"> |
+ <!-- We have to set the scroll position, because of https://bugs.webkit.org/show_bug.cgi?id=76129 |
+ 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-height="200"> |
+ <div id="inner">HEST</div> |
+ </div> |
+ </body> |
+</html> |