| Index: third_party/WebKit/LayoutTests/fragmentation/become-unfragmented-with-lines.html
|
| diff --git a/third_party/WebKit/LayoutTests/fragmentation/become-unfragmented-with-unbreakable-blocks.html b/third_party/WebKit/LayoutTests/fragmentation/become-unfragmented-with-lines.html
|
| similarity index 50%
|
| copy from third_party/WebKit/LayoutTests/fragmentation/become-unfragmented-with-unbreakable-blocks.html
|
| copy to third_party/WebKit/LayoutTests/fragmentation/become-unfragmented-with-lines.html
|
| index 422fd0cb1a3f87bf620915241baf9d30d8f19133..14f4dc7daef153be974baa3d335a2223043a731f 100644
|
| --- a/third_party/WebKit/LayoutTests/fragmentation/become-unfragmented-with-unbreakable-blocks.html
|
| +++ b/third_party/WebKit/LayoutTests/fragmentation/become-unfragmented-with-lines.html
|
| @@ -1,19 +1,16 @@
|
| <!DOCTYPE html>
|
| -<style>
|
| -#inner > div { break-inside:avoid; }
|
| -</style>
|
| <p>The word "PASS" should be seen 7 times below.</p>
|
| <div id="container" style="position:relative; overflow:hidden; line-height:20px;">
|
| - <div id="multicol" style="float:left; columns:3; column-fill:auto; height:70px; text-align:right;">
|
| + <div id="multicol" style="float:left; columns:3; column-fill:auto; height:70px; orphans:1; widows:1; text-align:right;">
|
| <div style="width:6em;">
|
| <div id="inner">
|
| - <div id="child1">PA</div>
|
| - <div id="child2">PA</div>
|
| - <div id="child3">PA</div>
|
| - <div id="child4">PA</div>
|
| - <div id="child5">PA</div>
|
| - <div id="child6">PA</div>
|
| - <div id="child7">PA</div>
|
| + PA<br>
|
| + PA<br>
|
| + PA<br>
|
| + PA<br>
|
| + PA<br>
|
| + PA<br>
|
| + PA<br>
|
| </div>
|
| </div>
|
| </div>
|
| @@ -36,12 +33,6 @@
|
| document.body.offsetTop;
|
| document.getElementById("multicol").style.columns = "auto";
|
|
|
| - assert_equals(document.getElementById("child1").offsetTop, 0);
|
| - assert_equals(document.getElementById("child2").offsetTop, 20);
|
| - assert_equals(document.getElementById("child3").offsetTop, 40);
|
| - assert_equals(document.getElementById("child4").offsetTop, 60);
|
| - assert_equals(document.getElementById("child5").offsetTop, 80);
|
| - assert_equals(document.getElementById("child6").offsetTop, 100);
|
| - assert_equals(document.getElementById("child7").offsetTop, 120);
|
| + assert_equals(document.getElementById("inner").offsetHeight, 140);
|
| }, "No pagination struts should be left behind.");
|
| </script>
|
|
|