servo/tests/ref/after_block_iteration.html
Patrick Walton b4db9aeaeb Handle generated content with display: block correctly during flow
construction.

The iteration was incorrect here. Although it accidentally worked
before, it will cause problems when we have incremental style
recalculation.

The `after_block_iteration` reftest will become interesting once we have
incremental style recalc.
2014-09-19 12:25:37 -07:00

19 lines
505 B
HTML

<!DOCTYPE html>
<html>
<head>
<!--
Although this test may seem (and is) trivial, it ensures that iteration with generated content
with `display: block` is correct during flow construction. Before this commit, this could hang
when combined with incremental reflow, since the parallel traversal counters would become
corrupted.
-->
<title>ack</title>
<style>
div.after-portlet-lang:after {
display: block;
}
</style>
<body>
<div class='after-portlet-lang'><div>x</div></div>
</body>
</html>