layout/reftests/flexbox/flexbox-box-sizing-on-items-horiz-1-ref.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <!DOCTYPE html>
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 <html>
michael@0 7 <head>
michael@0 8 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
michael@0 9 <meta charset="utf-8">
michael@0 10 <style>
michael@0 11 .container {
michael@0 12 width: 100px;
michael@0 13 height: 30px;
michael@0 14 border: 1px solid black;
michael@0 15 float: left;
michael@0 16 margin: 2px;
michael@0 17 }
michael@0 18 .container > * {
michael@0 19 float: left; /* emulate the testcase's horizontal lineup of flex items */
michael@0 20 }
michael@0 21 .itemA {
michael@0 22 width: 22px;
michael@0 23 height: 22px;
michael@0 24 background: purple;
michael@0 25 border: 4px solid indigo;
michael@0 26 }
michael@0 27 .itemB {
michael@0 28 width: 40px;
michael@0 29 height: 20px;
michael@0 30 background: teal;
michael@0 31 border: 5px solid lightblue;
michael@0 32 }
michael@0 33 </style>
michael@0 34 </head>
michael@0 35 <body>
michael@0 36 <!-- FIRST ROW -->
michael@0 37 <!-- 1 inflexible item -->
michael@0 38 <div class="container">
michael@0 39 <div class="itemA"></div>
michael@0 40 </div>
michael@0 41 <!-- 1 flexible item -->
michael@0 42 <div class="container">
michael@0 43 <div class="itemA" style="width: 92px"></div>
michael@0 44 </div>
michael@0 45
michael@0 46 <div style="clear: both"></div>
michael@0 47
michael@0 48 <!-- SECOND ROW -->
michael@0 49 <!-- 2 inflexible items -->
michael@0 50 <div class="container">
michael@0 51 <div class="itemA"></div>
michael@0 52 <div class="itemB"></div>
michael@0 53 </div>
michael@0 54 <!-- 2 flexible items -->
michael@0 55 <div class="container">
michael@0 56 <div class="itemA" style="width: 32px"></div>
michael@0 57 <div class="itemB" style="width: 50px"></div>
michael@0 58 </div>
michael@0 59 </body>
michael@0 60 </html>

mercurial