Index: LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-descendant.html |
diff --git a/LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-descendant.html b/LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-descendant.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..725de7229db31cfe09b444fbad473fdbfbf32329 |
--- /dev/null |
+++ b/LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-descendant.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/check-layout.js"></script> |
+<p>There should be no red this page.</p> |
+<div style="display:-webkit-box; width:200px; background:red;"> |
+ <div style="position:relative;"> |
+ <div> |
+ <div id="abspos" data-expected-height="200" style="position:absolute; left:0; top:0; width:200px; height:100%; background:lime;"></div> |
+ </div> |
+ </div> |
+ <div style="height:200px;"></div> |
+</div> |
+<p id="result"></p> |
+<script> |
+ checkLayout('#abspos', document.getElementById("result")); |
+</script> |