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

Unified Diff: LayoutTests/fast/flexbox/relayout-stretched-flexbox.html

Issue 715083002: Avoid blowing away the intrinsicContentLogicalHeight when stretching height in FlexBox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: s/EAE likes/I like/ Created 6 years, 1 month 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/relayout-stretched-flexbox-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/flexbox/relayout-stretched-flexbox.html
diff --git a/LayoutTests/fast/flexbox/relayout-stretched-flexbox.html b/LayoutTests/fast/flexbox/relayout-stretched-flexbox.html
new file mode 100644
index 0000000000000000000000000000000000000000..4572c82b1a512121fdc09b44ad699f3612f434c0
--- /dev/null
+++ b/LayoutTests/fast/flexbox/relayout-stretched-flexbox.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<style>
+body * {
+ display: flex;
+ flex: 1;
+}
+
+#column1{
+ flex-direction: column;
+}
+</style>
+<script src="../../resources/check-layout.js"></script>
+<script>
+onload = function() {
+ var container = document.getElementById("column2");
+
+ container.innerText = "I like to eat eat eat apples and bananas.";
+ container.offsetTop;
+ container.innerText = '';
+ checkLayout("#column1");
+}
+</script>
+<body>
+<div style="width: 100px;">
+ <div id="column1" data-expected-height=0>
+ <div></div>
+ </div>
+ <div id="column2">
+ </div>
+</div>
« no previous file with comments | « no previous file | LayoutTests/fast/flexbox/relayout-stretched-flexbox-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698