Index: LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-child.html |
diff --git a/LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-child.html b/LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-child.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f1605b45597694c0a3887e36eb993f69972d2bf6 |
--- /dev/null |
+++ b/LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-child.html |
@@ -0,0 +1,13 @@ |
+<!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 id="abspos" data-expected-height="200" style="position:absolute; left:0; top:0; width:200px; height:100%; background:lime;"></div> |
+ </div> |
+ <div style="height:200px;"></div> |
+</div> |
+<p id="result"></p> |
+<script> |
+ checkLayout('#abspos', document.getElementById("result")); |
+</script> |