Chromium Code Reviews| Index: LayoutTests/fast/multicol/span/add-spanner-inside-overflow-hidden.html |
| diff --git a/LayoutTests/fast/multicol/span/add-spanner-inside-overflow-hidden.html b/LayoutTests/fast/multicol/span/add-spanner-inside-overflow-hidden.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b4ec2ae09970e37157dcbf1808fe9b75983a7c3b |
| --- /dev/null |
| +++ b/LayoutTests/fast/multicol/span/add-spanner-inside-overflow-hidden.html |
| @@ -0,0 +1,17 @@ |
| +<!DOCTYPE html> |
| +<p>Add a spanner inside a fixed-size clipped block inside a multicol container. It should not be |
| + affected by the clipping, since the containing block of a spanner is the multicol |
| + container. This also tests that we don't perform any optimized subtree layout operations |
| + incompatible with multicol (which would typically cause assertion failures).</p> |
| +<p>You should see the word "PASS" below, and nothing else (no red, no "FAIL").</p> |
| +<div style="-webkit-columns:2; width:20em; height:10em; line-height:2em; overflow:hidden;"> |
|
Julien - ping for review
2015/08/03 16:47:59
Do we really need both this overflow: hidden and t
mstensho (USE GERRIT)
2015/08/04 12:06:07
When inserting a spanner, we insert a spanner plac
Julien - ping for review
2015/08/05 16:34:26
That's reasonable, I was just trying to make sure
|
| + <div style="width:5em; height:2em; overflow:hidden;"> |
| + |
| + <div id="spanner" style="-webkit-column-span:all; display:none;">PASS</div> |
| + <span style="background:red;">FAIL</span> |
| + </div> |
| +</div> |
| +<script> |
| + document.body.offsetTop; |
| + document.getElementById("spanner").style.display = "block"; |
| +</script> |