Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="utf-8">
<!--
This is an alternative expectation for UAs that have not implemented
the “smart” default behavior for overflow alignment on boxes that aren't
scroll containers.
The text says that there should be no red, but that's for the main
expectation. In this alternative one, a bit of red is expected.
-->
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="float: left; width: 50px; height: 150px; background: green"></div>
<div style="float: left; width: 100px; height: 150px; background: red"></div>
<div style="float: left; width: 150px; height: 150px; background: green"></div>
<div style="clear: left"></div>
<div style="float: left; width: 100px; height: 150px; background: green"></div>
<div style="float: left; width: 50px; height: 150px; background: red"></div>
<div style="float: left; width: 150px; height: 150px; background: green"></div>