Index: LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-unconstrained-width.html |
diff --git a/LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-unconstrained-width.html b/LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-unconstrained-width.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c1a53a7a4c2d97aab342e21e3b0d34a3cad7c8c |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-unconstrained-width.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<script src="../../../resources/check-layout.js"></script> |
+<script> |
+ onload = function() { |
+ document.body.offsetTop; // trigger layout |
+ document.getElementById('elm').style.display = 'block'; |
+ checkLayout('#stf'); |
+ } |
+</script> |
+<p>Check that inserting a spanner into the multicol container updates the preferred maximum width.</p> |
+<p>You should see a blue square below.</p> |
+<div class="container" style="overflow:hidden;"> |
+ <div id="stf" style="font:20px Ahem; float:left; overflow:hidden; color:blue; background:blue;" data-expected-width="220" data-expected-height="220"> |
Julien - ping for review
2015/01/26 14:50:12
Same question here with width: -webkit-max-content
mstensho (USE GERRIT)
2015/01/26 16:45:15
Done.
|
+ <div style="-webkit-columns:3;"> |
+ <div id="elm" style="display:none; -webkit-column-span:all; height:220px;"> |
+ xxxxx xxxxx |
+ </div> |
+ </div> |
+ </div> |
+</div> |