Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Unified Diff: LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-descendant.html

Issue 1213843002: Don't change the height of a layout object while not laying it out. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Oh... right, the child. :-p Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698