Chromium Code Reviews| Index: LayoutTests/fast/multicol/inline-children-crash.html |
| diff --git a/LayoutTests/fast/multicol/inline-children-crash.html b/LayoutTests/fast/multicol/inline-children-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..17f675f5195efa8863cb85dad6dc4df46b26b17d |
| --- /dev/null |
| +++ b/LayoutTests/fast/multicol/inline-children-crash.html |
| @@ -0,0 +1,17 @@ |
| +<!DOCTYPE html> |
| +<script> |
| + if (window.internals) |
| + internals.settings.setRegionBasedColumnsEnabled(true); |
| + if (window.testRunner) |
| + testRunner.dumpAsText(); |
| + onload = function() { |
| + document.getElementById('mc').offsetTop; // trigger layout |
| + document.getElementById('mc').style.WebkitColumns = 'auto'; |
|
esprehn
2014/04/21 16:45:02
webkitColumns works fine, you don't need the caps.
mstensho (USE GERRIT)
2014/04/21 17:05:07
Weird. I thought you'd need initial upper case to
|
| + document.getElementById('mc').style.columns = 'auto'; |
| + document.getElementById('inline').style.color = 'green'; |
| + } |
| +</script> |
| +<p>This test should not crash.</p> |
| +<div id="mc" style="-webkit-columns:3; columns:3;"> |
| + <span id="inline">PASS</span> |
| +</div> |