| Index: LayoutTests/fast/dynamic/static-to-relative-with-absolute-and-static-child.html
|
| diff --git a/LayoutTests/fast/dynamic/static-to-relative-with-absolute-and-static-child.html b/LayoutTests/fast/dynamic/static-to-relative-with-absolute-and-static-child.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..be3b9d65ae083b08b96d2edb3135cbeda25d7677
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dynamic/static-to-relative-with-absolute-and-static-child.html
|
| @@ -0,0 +1,23 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +#abs {
|
| + width:100px; height:50px;
|
| + position:absolute;
|
| + background-color:blue;
|
| +}
|
| +#next {
|
| + width:50px; height:100px;
|
| + margin-top:50px;
|
| + background-color:orange;
|
| +}
|
| +</style>
|
| +<div id=outer>
|
| + <div id=abs></div>
|
| + <div id=next></div>
|
| +</div>
|
| +<script>
|
| +window.onload = function () {
|
| + document.body.offsetTop;
|
| + outer.style.position = "relative";
|
| +}
|
| +</script>
|
|
|