mirror of
https://github.com/servo/servo.git
synced 2025-06-20 15:18:58 +01:00
`vertical-align: top`. We actually don't support the other values correctly, and so this test was relying on a bug in incremental reflow.
28 lines
464 B
HTML
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>
|
|
|