layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002.xht

Thu, 15 Jan 2015 21:13:52 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:13:52 +0100
branch
TOR_BUG_9701
changeset 12
7540298fafa1
permissions
-rw-r--r--

Remove forgotten relic of ABI crash risk averse overloaded method change.

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
michael@0 2 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 3 <head>
michael@0 4 <title>CSS Test: Min/Max Height and Width Constraints on Replaced Elements with Box-Sizing</title>
michael@0 5 <link href="http://fantasai.inkedblade.net/contact" title="Elika J. Etemad" rel="author"></link>
michael@0 6 <link href="mailto:sjohnson@mozilla.com" title="Scott Johnson" rel="author"></link>
michael@0 7 <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
michael@0 8 <meta content="image" name="flags"></meta>
michael@0 9 <meta name="assert" content="All images should be sized at 75px x 75px, with 5px of padding and 5px of blue border around each." />
michael@0 10 <!--
michael@0 11 This test is derived from replaced-min-max-001, part of the W3C CSS 2.1
michael@0 12 test suite.
michael@0 13 -->
michael@0 14 <style type="text/css">
michael@0 15 p {
michael@0 16 display: inline-block;
michael@0 17 background-color: white;
michael@0 18 padding: 0px 0px;
michael@0 19 margin: 0px 0px;
michael@0 20 }
michael@0 21
michael@0 22 .with-borderpadding {
michael@0 23 padding: 5px 5px;
michael@0 24 border: 5px solid blue;
michael@0 25 box-sizing: border-box;
michael@0 26 }
michael@0 27
michael@0 28 #img1 {
michael@0 29 min-width: 80px;
michael@0 30 max-width: 125px;
michael@0 31 min-height: 65px;
michael@0 32 max-height: 140px;
michael@0 33 }
michael@0 34
michael@0 35 #img2 {
michael@0 36 max-width: 95px;
michael@0 37 min-height: 80px;
michael@0 38 }
michael@0 39
michael@0 40 #img3 {
michael@0 41 max-width: 95px;
michael@0 42 min-height: 95px;
michael@0 43 }
michael@0 44
michael@0 45 #img4 {
michael@0 46 min-width: 95px;
michael@0 47 max-height: 120px;
michael@0 48 }
michael@0 49
michael@0 50 #img5 {
michael@0 51 min-width: 95px;
michael@0 52 max-height: 95px;
michael@0 53 }
michael@0 54
michael@0 55 #img6 {
michael@0 56 min-width: 80px;
michael@0 57 max-height: 95px;
michael@0 58 }
michael@0 59
michael@0 60 #img7 {
michael@0 61 min-width: 95px;
michael@0 62 max-height: 95px;
michael@0 63 }
michael@0 64
michael@0 65 #img8 {
michael@0 66 max-width: 120px;
michael@0 67 min-height: 95px;
michael@0 68 }
michael@0 69
michael@0 70 #img9 {
michael@0 71 max-width: 95px;
michael@0 72 min-height: 95px;
michael@0 73 }
michael@0 74
michael@0 75 #img10 {
michael@0 76 min-width: 95px;
michael@0 77 max-width: 170px;
michael@0 78 max-height: 95px;
michael@0 79 }
michael@0 80
michael@0 81 #img11 {
michael@0 82 min-width: 45px;
michael@0 83 max-width: 245px;
michael@0 84 max-height: 95px;
michael@0 85 }
michael@0 86
michael@0 87 #img12 {
michael@0 88 max-width: 95px;
michael@0 89 min-height: 95px;
michael@0 90 max-height: 170px;
michael@0 91 }
michael@0 92
michael@0 93 #img13 {
michael@0 94 max-width: 95px;
michael@0 95 min-height: 45px;
michael@0 96 max-height: 245px;
michael@0 97 }
michael@0 98
michael@0 99 #img14 {
michael@0 100 min-width: 70px;
michael@0 101 max-width: 120px;
michael@0 102 min-height: 95px;
michael@0 103 }
michael@0 104
michael@0 105 #img15 {
michael@0 106 min-width: 75px;
michael@0 107 max-width: 95px;
michael@0 108 min-height: 95px;
michael@0 109 }
michael@0 110
michael@0 111 #img16 {
michael@0 112 min-width: 95px;
michael@0 113 min-height: 70px;
michael@0 114 max-height: 120px;
michael@0 115 }
michael@0 116
michael@0 117 #img17 {
michael@0 118 min-width: 95px;
michael@0 119 min-height: 75px;
michael@0 120 max-height: 95px;
michael@0 121 }
michael@0 122
michael@0 123 #img18 {
michael@0 124 min-width: 95px;
michael@0 125 max-height: 95px;
michael@0 126 }
michael@0 127
michael@0 128 #img19 {
michael@0 129 max-width: 95px;
michael@0 130 min-height: 95px;
michael@0 131 }
michael@0 132 </style>
michael@0 133 </head>
michael@0 134 <body>
michael@0 135 <div>All rectangles should be the same size.</div>
michael@0 136 <p><img id="img0" class="with-borderpadding" src="support/replaced-min-max.png" alt="FAIL" title="Test 0"></img></p>
michael@0 137 <p><img id="img1" class="with-borderpadding" title="Test 1" alt="FAIL" src="support/replaced-min-max-1.png"></img></p>
michael@0 138 <p><img id="img2" class="with-borderpadding" title="Test 2" alt="FAIL" src="support/replaced-min-max-2.png"></img></p>
michael@0 139 <p><img id="img3" class="with-borderpadding" title="Test 3" alt="FAIL" src="support/replaced-min-max-3.png"></img></p>
michael@0 140 <p><img id="img4" class="with-borderpadding" title="Test 4" alt="FAIL" src="support/replaced-min-max-4.png"></img></p>
michael@0 141 <p><img id="img5" class="with-borderpadding" title="Test 5" alt="FAIL" src="support/replaced-min-max-5.png"></img></p>
michael@0 142 <p><img id="img6" class="with-borderpadding" title="Test 6" alt="FAIL" src="support/replaced-min-max-6.png"></img></p>
michael@0 143 <p><img id="img7" class="with-borderpadding" title="Test 7" alt="FAIL" src="support/replaced-min-max-7.png"></img></p>
michael@0 144 <p><img id="img8" class="with-borderpadding" title="Test 8" alt="FAIL" src="support/replaced-min-max-8.png"></img></p>
michael@0 145 <p><img id="img9" class="with-borderpadding" title="Test 9" alt="FAIL" src="support/replaced-min-max-9.png"></img></p>
michael@0 146 <p><img id="img10" class="with-borderpadding" title="Test 10" alt="FAIL" src="support/replaced-min-max-10.png"></img></p>
michael@0 147 <p><img id="img11" class="with-borderpadding" title="Test 11" alt="FAIL" src="support/replaced-min-max-11.png"></img></p>
michael@0 148 <p><img id="img12" class="with-borderpadding" title="Test 12" alt="FAIL" src="support/replaced-min-max-12.png"></img></p>
michael@0 149 <p><img id="img13" class="with-borderpadding" title="Test 13" alt="FAIL" src="support/replaced-min-max-13.png"></img></p>
michael@0 150 <p><img id="img14" class="with-borderpadding" title="Test 14" alt="FAIL" src="support/replaced-min-max-14.png"></img></p>
michael@0 151 <p><img id="img15" class="with-borderpadding" title="Test 15" alt="FAIL" src="support/replaced-min-max-15.png"></img></p>
michael@0 152 <p><img id="img16" class="with-borderpadding" title="Test 16" alt="FAIL" src="support/replaced-min-max-16.png"></img></p>
michael@0 153 <p><img id="img17" class="with-borderpadding" title="Test 17" alt="FAIL" src="support/replaced-min-max-17.png"></img></p>
michael@0 154 <p><img id="img18" class="with-borderpadding" title="Test 18" alt="FAIL" src="support/replaced-min-max-18.png"></img></p>
michael@0 155 <p><img id="img19" class="with-borderpadding" title="Test 19" alt="FAIL" src="support/replaced-min-max-19.png"></img></p>
michael@0 156 </body>
michael@0 157 </html>

mercurial