summaryrefslogtreecommitdiffstats
path: root/layout/reftests/flexbox/flexbox-resizeviewport-1-helper.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/flexbox/flexbox-resizeviewport-1-helper.html')
-rw-r--r--layout/reftests/flexbox/flexbox-resizeviewport-1-helper.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/flexbox/flexbox-resizeviewport-1-helper.html b/layout/reftests/flexbox/flexbox-resizeviewport-1-helper.html
new file mode 100644
index 0000000000..66df03b9de
--- /dev/null
+++ b/layout/reftests/flexbox/flexbox-resizeviewport-1-helper.html
@@ -0,0 +1,31 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<!-- Helper-file for reftest flexbox-resizeviewport-1.xhtml
+ I'm intentionally using quirks-mode (no doctype), so that
+ a 100% height will work. -->
+<html>
+ <head>
+ <style>
+ div.flexbox {
+ display: flex;
+ height: 100%;
+ border: 2px dashed black;
+ }
+ div.a {
+ flex: 1;
+ background: pink;
+ }
+ div.b {
+ flex: 1;
+ background: teal;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="flexbox">
+ <div class="a"></div><div class="b"></div>
+ </div>
+ </body>
+</html>