mirror of
https://github.com/servo/servo.git
synced 2025-06-10 17:43:16 +00:00
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.
29 lines
729 B
HTML
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>
|