servo/tests/ref/block_formatting_context_translation_a.html
Patrick Walton fffc7aaf38 layout: Consider relatively positioned blocks as possible block
formatting contexts, and translate floats out of block formatting
contexts.

These improve Reddit.
2014-09-24 22:03:06 -07:00

11 lines
354 B
HTML

<!DOCTYPE html>
<html>
<body>
<div style="height: 32px; margin: 0 0 0;">
<div style="float: left; background: blue; width: 64px; height: 32px;"></div>
<div style="overflow: hidden; height: 32px; background: violet;"></div>
</div>
<div style="background: green; float: left; width: 32px; height: 32px;"></div>
</body>
</html>