Chromium Code Reviews| Index: LayoutTests/fast/block/positioning/positioned-movement-layout-when-height-changes-and-descendant-dependent-on-height-expected.html |
| diff --git a/LayoutTests/fast/block/positioning/positioned-movement-layout-when-height-changes-and-descendant-dependent-on-height-expected.html b/LayoutTests/fast/block/positioning/positioned-movement-layout-when-height-changes-and-descendant-dependent-on-height-expected.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..aba5753c4ce929c5242a146c052a9604190f5aeb |
| --- /dev/null |
| +++ b/LayoutTests/fast/block/positioning/positioned-movement-layout-when-height-changes-and-descendant-dependent-on-height-expected.html |
| @@ -0,0 +1,36 @@ |
| +<!DOCTYPE HTML> |
| +<style> |
| + body { |
| + margin: 0; |
| + } |
| + #container { |
| + position: absolute; |
| + height: 154px; |
| + width: 20px; |
| + overflow: hidden; |
|
Julien - ping for review
2015/01/06 14:35:09
This doesn't seem needed for the test no?
|
| + background-color: blue; |
| + } |
| + #test { |
| + position: absolute; |
| + top: 0px; |
| + bottom: 0px; |
| + left: 0px; |
| + right: 0px; |
| + height: auto; |
|
Julien - ping for review
2015/01/06 14:35:09
height is auto by default.
|
| + margin: 20px 0; |
| + } |
| + .contents { |
| + background-color: green; |
| + height: 100%; |
| + width: 10px; |
| + } |
| +</style> |
| + |
| +<div id="top"> |
| +<div id="container"> |
| + <div id="test"> |
| + <div class="contents"></div> |
| + </div> |
| +</div> |
| +</div> |
| +Tests positioned movement layout when its height has changed and a descendant depends on its height. |