mirror of
https://github.com/servo/servo
synced 2026-05-09 16:42:16 +02: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.
29 lines
464 B
HTML
29 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>
|
|
|