Chromium Code Reviews| 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> |