Files
servo/tests/ref/block_formatting_context_float_placement_ref.html
Patrick Walton 986f81afa7 layout: Use the border box, not the margin box, for placement of block
formatting contexts.

Improves Amazon.
2015-05-01 15:11:46 -07:00

26 lines
395 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.nav-submit-button {
float: right;
}
#nav-search-in {
float: left;
}
.nav-searchfield-width {
height: 35px;
overflow: hidden;
border: solid black 1px;
}
</style>
</head>
<body>
<form id="nav-searchbar">
<div class="nav-submit-button">Foo</div><span id="nav-search-in">Bar</span>
<div class="nav-searchfield-width"></div>
</form>
</body>
</html>