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

Unified Diff: LayoutTests/fast/multicol/newmulticol/hide-box-vertical-lr.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
Index: LayoutTests/fast/multicol/newmulticol/hide-box-vertical-lr.html
diff --git a/LayoutTests/fast/multicol/newmulticol/hide-box-vertical-lr.html b/LayoutTests/fast/multicol/newmulticol/hide-box-vertical-lr.html
new file mode 100644
index 0000000000000000000000000000000000000000..6054bfe62efdcd5b21e4efd74de14ab22b4bfacd
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/hide-box-vertical-lr.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>hiding a box covering a multicol, vertical-lr</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()" style="color:black; background:white;">
+ <p>The word PASS should be seen below.</p>
+ <div style="position:relative; width:30em; background:black;">
+ <div id="hider" style="position:absolute; z-index:1; top:5.1em; left:2em; width:3em; height:3em; background:red;"></div>
+ <div style="width:20em; height:20em; -webkit-writing-mode:vertical-lr;">
+ <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; -webkit-logical-height:6em; line-height:2em; background:cyan;">
+ <br>
+ <br>
+ <br>
+ <br>
+ <div style="position:relative;">&nbsp;PASS</div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698