Files
servo/tests/ref/clear_generated_content_table_a.html
Patrick Walton 47fc64052c layout: Support any display property in generated content, and allow
tables to clear floats.

Improves the GitHub header.
2014-09-26 14:09:25 -07:00

20 lines
251 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.clearit:after {
content: "";
clear: both;
display: table;
}
</style>
</head>
<body>
<div class=clearit>
<div style="float: left;">x</div>
</div>
<div style="float: left;">y</div>
</body>
</html>