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

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

Issue 14359018: Correct overflow propagation in BTT and RTL writing-modes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@236320
Patch Set: Don't remove incorrect expected.png files. Add stuff to LayoutTests/TestExpectations instead. Created 7 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/overflow-btt-border-after-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ab51257971afcb76778288c7848f2754d0a96678
--- /dev/null
+++ b/LayoutTests/fast/css/overflow-btt-border-after.html
@@ -0,0 +1,33 @@
+<!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:hidden;
+ -webkit-logical-height:100px;
+ -webkit-border-after:150px solid white;
+ background:red;
+ }
+ #inner { -webkit-logical-height:200px; background:white; }
+ </style>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+ </head>
+ <body>
+ <p>The word 'HEST' should be seen below, and there should be no red.</p>
+ <div id="container">
+ <div id="inner">HEST</div>
+ </div>
+ <script>
+ if (window.testRunner) {
+ var height = container.scrollHeight;
+ document.body.innerHTML = height == 200 ? "PASS" : "FAIL - height was " + height;
+ }
+ </script>
+ </body>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/overflow-btt-border-after-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698