servo/tests/ref/inline_hypothetical_box_a.html
Patrick Walton 7712052e13 test: Mark the inline element in inline_hypothetical_box_a.html as
`vertical-align: top`.

We actually don't support the other values correctly, and so this test
was relying on a bug in incremental reflow.
2014-10-31 12:24:40 -07:00

28 lines
464 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.a {
position: relative;
height: 200px;
}
.b {
position: absolute;
vertical-align: top;
}
.c {
background: blue;
display: inline-block;
height: 8px;
width: 32px;
}
</style>
</head>
<body>
<div class=a><span class=c></span><span class=b style="top: 100px;">Hello</span>world!</div>
<div class=a><span class=c></span><span class=b style="left: 100px;">Hello</span>world!</div>
</body>
</html>