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

Unified Diff: LayoutTests/fast/multicol/newmulticol/regular-block-becomes-multicol.html

Issue 179993006: [New multicol] Eliminate the need for RenderMultiColumnBlock. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review Created 6 years, 10 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/regular-block-becomes-multicol.html
diff --git a/LayoutTests/fast/multicol/newmulticol/regular-block-becomes-multicol.html b/LayoutTests/fast/multicol/newmulticol/regular-block-becomes-multicol.html
new file mode 100644
index 0000000000000000000000000000000000000000..02c536af4e3dfaff6cdced234dc285df54c2d6a4
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/regular-block-becomes-multicol.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Change regular block to multicol</title>
+ <script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ function test() {
+ var elm = document.getElementById('elm');
+ elm.offsetTop; // trigger layout
+ elm.style.WebkitColumns = 4;
eseidel 2014/02/25 23:37:09 Why do we set WebKitColumsn here?
mstensho (USE GERRIT) 2014/02/25 23:52:47 That's still the name of the property in Blink. It
+ elm.style.columns = 4;
+ }
+ </script>
+ </head>
+ <body onload="test()">
+ <p>You should see the word 'PASS' below.</p>
+ <div style="font-family:monospace; float:left;">
+ <div id="elm" style="-webkit-column-gap:0; column-gap:0; orphans:1; widows:1;">
+ P<br>
+ A<br>
+ S<br>
+ S<br>
+ </div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698