layout/reftests/flexbox/flexbox-empty-1a.xhtml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <?xml version="1.0" encoding="UTF-8"?>
michael@0 2 <!--
michael@0 3 Any copyright is dedicated to the Public Domain.
michael@0 4 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 5 -->
michael@0 6 <!-- Testcase for behavior of flex containers that have no children -->
michael@0 7 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 8 <head>
michael@0 9 <style>
michael@0 10 div.flexbox {
michael@0 11 border: 1px dotted blue;
michael@0 12 background: yellow;
michael@0 13 display: flex;
michael@0 14 }
michael@0 15
michael@0 16 div.withPadding {
michael@0 17 padding: 2px 3px 4px 5px;
michael@0 18 }
michael@0 19 </style>
michael@0 20 </head>
michael@0 21 <body>
michael@0 22 <div class="flexbox"/>
michael@0 23 <div class="flexbox" style="width: 5px"/>
michael@0 24 <div class="flexbox" style="width: -moz-available"/>
michael@0 25 <div class="flexbox" style="width: -moz-max-content"/>
michael@0 26 <div class="flexbox" style="width: -moz-min-content"/>
michael@0 27 <div class="flexbox" style="height: 6px"/>
michael@0 28 <div class="flexbox" style="width: 7px; height: 8px"/>
michael@0 29
michael@0 30 <!-- now with padding -->
michael@0 31 <div class="flexbox withPadding"/>
michael@0 32 <div class="flexbox withPadding" style="width: 5px"/>
michael@0 33 <div class="flexbox withPadding" style="width: -moz-available"/>
michael@0 34 <div class="flexbox withPadding" style="width: -moz-max-content"/>
michael@0 35 <div class="flexbox withPadding" style="width: -moz-min-content"/>
michael@0 36 <div class="flexbox withPadding" style="height: 6px"/>
michael@0 37 <div class="flexbox withPadding" style="width: 7px; height: 8px"/>
michael@0 38 </body>
michael@0 39 </html>

mercurial