layout/reftests/box-properties/box-sizing-minmax-width.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 <html><head>
michael@0 3 <title>min-/max-width testcase for bug 308801</title>
michael@0 4 <style type="text/css">
michael@0 5
michael@0 6 html,body {
michael@0 7 color:black; background-color:white; font-size:16px;
michael@0 8 }
michael@0 9
michael@0 10 div {
michael@0 11 margin:0;
michael@0 12 padding:0;
michael@0 13 }
michael@0 14
michael@0 15 .min { min-width:100px; }
michael@0 16 .max { max-width:100px; }
michael@0 17 .hidden { overflow:hidden; }
michael@0 18
michael@0 19 .box {
michael@0 20 box-sizing: border-box;
michael@0 21 }
michael@0 22
michael@0 23 .test1 {
michael@0 24 border:10px solid black;
michael@0 25 }
michael@0 26
michael@0 27 .test2 {
michael@0 28 padding:10px;
michael@0 29 background:black;
michael@0 30 }
michael@0 31
michael@0 32 .test3 {
michael@0 33 border:10px solid black;
michael@0 34 padding:25px;
michael@0 35 }
michael@0 36 br { margin-top:13px; }
michael@0 37 </style>
michael@0 38 </head>
michael@0 39 <body>
michael@0 40
michael@0 41 <div style="float:left"><div class="box min test1"></div></div>
michael@0 42
michael@0 43 <br clear="all">
michael@0 44 <div style="float:left"><div class="box min test2"></div></div>
michael@0 45
michael@0 46 <br clear="all">
michael@0 47 <div style="float:left"><div class="box min test3"></div></div>
michael@0 48
michael@0 49 <br clear="all">
michael@0 50 <br clear="all">
michael@0 51 <div class="box max test1"></div>
michael@0 52
michael@0 53 <br clear="all">
michael@0 54 <div class="box max test2"></div>
michael@0 55
michael@0 56 <br clear="all">
michael@0 57 <div class="box max test3"></div>
michael@0 58
michael@0 59 <br clear="all">
michael@0 60 <!-- overflow:hidden -->
michael@0 61
michael@0 62 <div style="float:left"><div class="hidden box min test1"></div></div>
michael@0 63
michael@0 64 <br clear="all">
michael@0 65 <div style="float:left"><div class="hidden box min test2"></div></div>
michael@0 66
michael@0 67 <br clear="all">
michael@0 68 <div style="float:left"><div class="hidden box min test3"></div></div>
michael@0 69
michael@0 70 <br clear="all">
michael@0 71 <br clear="all">
michael@0 72 <div class="hidden box max test1"></div>
michael@0 73
michael@0 74 <br clear="all">
michael@0 75 <div class="hidden box max test2"></div>
michael@0 76
michael@0 77 <br clear="all">
michael@0 78 <div class="hidden box max test3"></div>
michael@0 79
michael@0 80
michael@0 81
michael@0 82 </body>
michael@0 83 </html>

mercurial