4 <title>Bug
92497 - [CSS Regions] Region overset property is not properly computed when there is a region break
</title>
5 <style type=
"text/css">
8 -webkit-column-count:2;
12 .columns p:first-child {
13 -webkit-column-break-after: always
;
14 margin-bottom: 10em; /*shouldn't spill over the forced break*/
17 .fail #pass, .pass #fail { display: none
; }
23 <p>This is some text with bottom margin and forced break after.
</p>
24 <p>This paragraph should be aligned with the other paragraph because the
1st paragraph's bottom margin shouldn't spill over the forced break.
</p>
27 <script type=
"text/javascript">
29 testRunner
.dumpAsText();
30 document
.body
.className
= document
.querySelector(".columns p:nth-child(2)").offsetTop
== document
.querySelector(".columns p:first-child").offsetTop
? "pass" : "fail";
33 <div id=
"pass">PASS
</div>
34 <div id=
"fail">FAIL
</div>
36 <p><a href=
"https://bugs.webkit.org/show_bug.cgi?id=92497">Bug
92497</a> - [CSS Regions] Region overset property is not properly computed when there is a region break
</p>