servo/tests/ref/absolute_inline_containing_block_ref.html
Patrick Walton 1f0b5889da layout: Allow inline elements to be containing blocks for
absolutely-positioned elements.

This also implements a little bit of the infrastructure needed to
support for fragmentation via support for multiple positioned fragments
in one flow.

Improves Google.
2015-05-13 12:00:53 -07:00

24 lines
270 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
html, body {
margin: 0;
font-size: 0.1px;
}
#a {
position: absolute;
left: 100px;
top: 0;
width: 100px;
height: 100px;
background: purple;
}
</style>
</head>
<body>
<div id=a></div>
</body>
</html>