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

Unified Diff: LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-child.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
« no previous file with comments | « no previous file | LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-child-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/flexbox/relpos-flex-item-with-percent-height-abspos-child-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698