diff options
Diffstat (limited to 'layout/reftests/flexbox/flexbox-resizeviewport-2-helper.html')
-rw-r--r-- | layout/reftests/flexbox/flexbox-resizeviewport-2-helper.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/reftests/flexbox/flexbox-resizeviewport-2-helper.html b/layout/reftests/flexbox/flexbox-resizeviewport-2-helper.html new file mode 100644 index 0000000000..998bcbd527 --- /dev/null +++ b/layout/reftests/flexbox/flexbox-resizeviewport-2-helper.html @@ -0,0 +1,32 @@ +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--> +<!-- Helper-file for reftest flexbox-resizeviewport-2.xhtml + I'm intentionally using quirks-mode (no doctype), so that + a 100% width (block-size) will work. --> +<html> + <head> + <style> + html { writing-mode: vertical-rl; } + div.flexbox { + display: flex; + width: 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> |