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

Unified Diff: LayoutTests/fast/multicol/newmulticol/hide-box-horizontal-bt.html

Issue 22576002: Paint region based columns correctly in non-default writing-modes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Simplify comment, address code review minor issue raised with lgtm. Created 7 years, 3 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 | « no previous file | LayoutTests/fast/multicol/newmulticol/hide-box-horizontal-bt-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/newmulticol/hide-box-horizontal-bt.html
diff --git a/LayoutTests/fast/multicol/newmulticol/hide-box-horizontal-bt.html b/LayoutTests/fast/multicol/newmulticol/hide-box-horizontal-bt.html
new file mode 100644
index 0000000000000000000000000000000000000000..b449c594a1478eef7af4e9942732c34f7d8d2efb
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/hide-box-horizontal-bt.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>hiding a box covering a multicol, horizontal-bt</title>
+ <script>
+ if (window.testRunner)
+ testRunner.waitUntilDone();
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ function scheduleHide() {
+ document.body.offsetLeft;
+ setTimeout("hideIt()", 100);
+ }
+ function hideIt() {
+ document.getElementById('hider').style.visibility = 'hidden';
+ document.body.offsetLeft;
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }
+ </script>
+ </head>
+ <body onload="scheduleHide()">
+ <p>The word PASS should be seen below.</p>
+ <div style="position:relative; background:lime;">
+ <div id="hider" style="position:absolute; z-index:1; left:5.1em; bottom:2em; width:3em; height:3em; background:red;"></div>
+ <div style="position:absolute; z-index:1; left:0; right:0; top:0; height:6em; background:white;"></div> <!-- make it fail if writing-mode isn't supported -->
+ <div style="width:20em; height:20em; -webkit-writing-mode:horizontal-bt;">
+ <div style="-webkit-columns:4; -webkit-column-fill:auto; -webkit-column-gap:0; columns:4; column-fill:auto; column-gap:0; orphans:1; widows:1; height:6em; line-height:2em; background:cyan;">
+ <br>
+ <br>
+ <br>
+ <br>
+ <div style="position:relative;">&nbsp;PASS</div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/newmulticol/hide-box-horizontal-bt-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698