Index: LayoutTests/fast/multicol/balance-unbreakable.html |
diff --git a/LayoutTests/fast/multicol/balance-unbreakable.html b/LayoutTests/fast/multicol/balance-unbreakable.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..747c4e8c5ebbf47621a88153e4ecacf311a7fc3d |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/balance-unbreakable.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/js-test.js"></script> |
+<script> |
+ description("Tests that an image at a column boundary is recorded properly for balancing"); |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+</script> |
+<style> |
+ #mc > * { visibility:hidden; } |
Julien - ping for review
2014/05/09 18:23:53
Do we need the visibility hidden as this is a text
mstensho (USE GERRIT)
2014/05/10 16:28:22
Done.
|
+</style> |
+<p>There should be a <em>square</em> below.</p> |
+<div id="mc" style="-webkit-columns:3; columns:3; width:7em; float:left; orphans:1; widows:1; background:olive;"> |
+ <div style="line-height:4em;">line</div> |
+ <div style="line-height:8em;">line</div> |
+ <img alt="x" style="display:block; height:2em;"> |
+ <div style="line-height:4em;">line</div> |
+ <div style="line-height:10em;">line</div> |
+ <div style="line-height:2em;">line</div> |
+ <div style="line-height:6em;">line</div> |
+</div> |
+<div style="float:left; width:7em; height:14em; background:olive;"></div> |
+<script> |
+ shouldBe("mc.offsetHeight", "224"); |
+</script> |