servo/tests/ref/inline_block_with_margin_a.html
Patrick Walton c7e619dfe7 layout: Rewrite intrinsic inline-size and automatic table layout to
match L. David Baron's work-in-progress specification.

    http://dbaron.org/css/intrinsic/

Column spans are not yet supported.

This effectively adds support for percentage widths, and it also fixes
many bugs, improving the layout of Google and Wikipedia.
2014-10-14 14:17:57 -07:00

29 lines
729 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
@font-face {
font-family: 'ahem';
src: url(fonts/ahem/ahem.ttf);
}
body {
margin: 0;
font-family: 'ahem';
font-size: 100px;
line-height: 1;
}
span {
display: inline-block;
color: yellow;
margin-left: 50px;
margin-right: 50px;
background: yellow;
height: 100px;
width: 100px;
}
</style>
</head>
<body>
<div><span></span><span></span></div>
</body>
</html>