summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1128354-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1128354-1.html')
-rw-r--r--layout/reftests/bugs/1128354-1.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1128354-1.html b/layout/reftests/bugs/1128354-1.html
new file mode 100644
index 000000000..c83bcf8b2
--- /dev/null
+++ b/layout/reftests/bugs/1128354-1.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <style>
+ .flexVert {
+ display: flex;
+ flex-direction: column;
+ }
+
+ .flexIntermediateHoriz {
+ display: flex;
+ }
+
+ .flexInnerHoriz {
+ display: flex;
+ height: 100%; /* If you delete this line, then pink area is stretched
+ to have its height match blue area. */
+ background: pink;
+ }
+
+ .spacer {
+ background: lightblue;
+ height: 200px;
+ width: 50px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="flexVert">
+ <div class="flexIntermediateHoriz">
+ <div class="flexInnerHoriz">text</div>
+ <div class="spacer"></div>
+ </div>
+ </div>
+ </body>
+</html>