Implement position: absolute for replaced elements.

Add reftests for replaced and nested absolute flows.
This commit is contained in:
S Pradeep Kumar 2014-02-18 15:33:25 +09:00
parent 4a6077ca4c
commit 070be51910
9 changed files with 402 additions and 43 deletions

View file

@ -0,0 +1,34 @@
<html>
<head>
<style>
#first {
position: relative;
width: 90px;
height: 90px;
border: solid 1px;
}
#abs {
position: absolute;
left: 30px;
top: 30px;
height: 30px;
width: 30px;
background: blue;
}
#abs2 {
position: absolute;
background: green;
height: 15px;
width: 15px;
}
</style>
</head>
<body>
<div id="first">
<div id="abs">
<div id="abs2">
</div>
</div>
</div>
</body>
</html>