Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
michael@0 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>Multi-column Layout: AbsPos Pagination (Interlaced Dynamic Height)</title> |
michael@0 | 5 | <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/> |
michael@0 | 6 | <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#the-height-property"/> |
michael@0 | 7 | <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units"/> |
michael@0 | 8 | <style type="text/css"> |
michael@0 | 9 | html { |
michael@0 | 10 | background: white; |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | .container { |
michael@0 | 14 | background: red; |
michael@0 | 15 | height: 24pt; |
michael@0 | 16 | position: relative; |
michael@0 | 17 | -moz-column-count: 2; |
michael@0 | 18 | -moz-column-gap: 0; |
michael@0 | 19 | } |
michael@0 | 20 | .overflow { |
michael@0 | 21 | width: 10pt; |
michael@0 | 22 | border-bottom: lime 8px solid; |
michael@0 | 23 | top: 0; |
michael@0 | 24 | } |
michael@0 | 25 | .following { |
michael@0 | 26 | position: relative; |
michael@0 | 27 | background: white; |
michael@0 | 28 | width: 100pt; |
michael@0 | 29 | } |
michael@0 | 30 | #colset { |
michael@0 | 31 | padding-top: 1px; |
michael@0 | 32 | width: 300pt; |
michael@0 | 33 | height: 2in; |
michael@0 | 34 | -moz-column-count: 3; |
michael@0 | 35 | -moz-column-gap: 0; |
michael@0 | 36 | border: silver 2pt; |
michael@0 | 37 | border-style: none solid; |
michael@0 | 38 | } |
michael@0 | 39 | #redline { |
michael@0 | 40 | width: 303pt; |
michael@0 | 41 | border-top: 8px solid red; |
michael@0 | 42 | margin-top: -1in; |
michael@0 | 43 | position: relative; |
michael@0 | 44 | z-index: -1; |
michael@0 | 45 | } |
michael@0 | 46 | |
michael@0 | 47 | .ocontainer { |
michael@0 | 48 | height: 0; |
michael@0 | 49 | position: relative; |
michael@0 | 50 | -moz-column-count: 2; |
michael@0 | 51 | -moz-column-gap: 0; |
michael@0 | 52 | } |
michael@0 | 53 | .o1 { /* 3rd col */ |
michael@0 | 54 | height: 10in; |
michael@0 | 55 | } |
michael@0 | 56 | .a1 { /* 1st col */ |
michael@0 | 57 | position: absolute; |
michael@0 | 58 | height: 2in; |
michael@0 | 59 | width: 33pt; |
michael@0 | 60 | } |
michael@0 | 61 | .a2 { /* 2nd col */ |
michael@0 | 62 | position: absolute; |
michael@0 | 63 | height: 6in; |
michael@0 | 64 | width: 25pt; |
michael@0 | 65 | margin-left: 25pt; |
michael@0 | 66 | } |
michael@0 | 67 | .a3 { /* 3rd col */ |
michael@0 | 68 | position: absolute; |
michael@0 | 69 | height: 10in; |
michael@0 | 70 | margin-left: 10pt; |
michael@0 | 71 | } |
michael@0 | 72 | .a4 { /* 2nd col */ |
michael@0 | 73 | width: 25pt; |
michael@0 | 74 | height: 6in; |
michael@0 | 75 | } |
michael@0 | 76 | |
michael@0 | 77 | .b1 { /* 3rd col */ |
michael@0 | 78 | position: absolute; |
michael@0 | 79 | height: 672pt; |
michael@0 | 80 | margin-left: 20pt; |
michael@0 | 81 | } |
michael@0 | 82 | .b2 { /* 2nd col */ |
michael@0 | 83 | position: absolute; |
michael@0 | 84 | height: 384pt; |
michael@0 | 85 | width: 25pt; |
michael@0 | 86 | margin-left: 50pt; |
michael@0 | 87 | } |
michael@0 | 88 | .b3 { /* 3rd col */ |
michael@0 | 89 | position: absolute; |
michael@0 | 90 | height: 672pt; |
michael@0 | 91 | margin-left: 30pt; |
michael@0 | 92 | } |
michael@0 | 93 | .b4 { /* 1st col, but no border */ |
michael@0 | 94 | position: absolute; |
michael@0 | 95 | height: 96pt; |
michael@0 | 96 | border-bottom: none; |
michael@0 | 97 | } |
michael@0 | 98 | .b4 .child1 { /* 1st col */ |
michael@0 | 99 | position: absolute; |
michael@0 | 100 | height: 200%; |
michael@0 | 101 | width: 33pt; |
michael@0 | 102 | margin-left: 33pt; |
michael@0 | 103 | } |
michael@0 | 104 | .b4 .child2 { /* 3rd col */ |
michael@0 | 105 | height: 672pt; |
michael@0 | 106 | margin-left: 40pt; |
michael@0 | 107 | |
michael@0 | 108 | } |
michael@0 | 109 | .b5 { /* 1st col */ |
michael@0 | 110 | position: absolute; |
michael@0 | 111 | height: 96pt; |
michael@0 | 112 | width: 34pt; |
michael@0 | 113 | margin-left: 66pt; |
michael@0 | 114 | } |
michael@0 | 115 | .b6 { /* 3rd col */ |
michael@0 | 116 | height: 672pt; |
michael@0 | 117 | margin-left: 50pt; |
michael@0 | 118 | } |
michael@0 | 119 | |
michael@0 | 120 | .c1 { /* 3rd col */ |
michael@0 | 121 | position: absolute; |
michael@0 | 122 | height: 6in; |
michael@0 | 123 | margin-left: 60pt; |
michael@0 | 124 | } |
michael@0 | 125 | .c2 { /* 2nd col */ |
michael@0 | 126 | position: absolute; |
michael@0 | 127 | height: 2in; |
michael@0 | 128 | width: 25pt; |
michael@0 | 129 | margin-left: 75pt; |
michael@0 | 130 | } |
michael@0 | 131 | .c3 { /* 3rd col */ |
michael@0 | 132 | position: absolute; |
michael@0 | 133 | height: 6in; |
michael@0 | 134 | margin-left: 70pt; |
michael@0 | 135 | } |
michael@0 | 136 | .c4 { /* 3rd col */ |
michael@0 | 137 | height: 6in; |
michael@0 | 138 | width: 20pt; |
michael@0 | 139 | margin-left: 80pt; |
michael@0 | 140 | } |
michael@0 | 141 | |
michael@0 | 142 | .f1 { |
michael@0 | 143 | margin-top: -48pt; |
michael@0 | 144 | height: 96pt; |
michael@0 | 145 | margin-bottom: 96pt; |
michael@0 | 146 | } |
michael@0 | 147 | .f2 { |
michael@0 | 148 | margin-top: -24pt; |
michael@0 | 149 | height: 48pt; |
michael@0 | 150 | } |
michael@0 | 151 | |
michael@0 | 152 | .centerline { |
michael@0 | 153 | margin: 0 auto; |
michael@0 | 154 | top: 0; |
michael@0 | 155 | left: 0; |
michael@0 | 156 | right: 0; |
michael@0 | 157 | position: absolute; |
michael@0 | 158 | width: 8px; |
michael@0 | 159 | height: 6in; |
michael@0 | 160 | background: aqua; |
michael@0 | 161 | } |
michael@0 | 162 | |
michael@0 | 163 | #dynamo { |
michael@0 | 164 | background: transparent; |
michael@0 | 165 | border-bottom: 8px solid orange; |
michael@0 | 166 | z-index: 10; |
michael@0 | 167 | height: 384pt; |
michael@0 | 168 | } |
michael@0 | 169 | |
michael@0 | 170 | </style> |
michael@0 | 171 | </head> |
michael@0 | 172 | <body onload="document.getElementById('dynamo').style.height = '96pt'; |
michael@0 | 173 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 174 | document.getElementById('dynamo').style.height = '672pt'; |
michael@0 | 175 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 176 | document.getElementById('dynamo').style.height = '96pt'; |
michael@0 | 177 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 178 | document.getElementById('dynamo').style.height = '384pt'; |
michael@0 | 179 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 180 | document.getElementById('dynamo').style.height = '3000pt'; |
michael@0 | 181 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 182 | document.getElementById('dynamo').style.height = '96pt'; |
michael@0 | 183 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 184 | document.getElementById('dynamo').style.height = '384pt'; |
michael@0 | 185 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 186 | document.getElementById('dynamo').style.height = '672pt'; |
michael@0 | 187 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 188 | document.getElementById('dynamo').style.height = '384pt'; |
michael@0 | 189 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 190 | document.getElementById('dynamo').style.height = '96pt'; |
michael@0 | 191 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 192 | document.getElementById('dynamo').style.height = '384pt'; |
michael@0 | 193 | document.documentElement.className = '' |
michael@0 | 194 | "> |
michael@0 | 195 | <div id="colset"> |
michael@0 | 196 | <div> |
michael@0 | 197 | <div class="ocontainer"> |
michael@0 | 198 | <div class="centerline"></div> |
michael@0 | 199 | <div class="overflow o1"></div> |
michael@0 | 200 | </div> |
michael@0 | 201 | <div class="container"> |
michael@0 | 202 | <div class="overflow a1"></div> |
michael@0 | 203 | <div class="overflow a2"></div> |
michael@0 | 204 | <div class="overflow a3"></div> |
michael@0 | 205 | <div class="overflow a4"></div> |
michael@0 | 206 | </div> |
michael@0 | 207 | <div class="ocontainer"> |
michael@0 | 208 | <div id="dynamo" class="centerline"></div> |
michael@0 | 209 | </div> |
michael@0 | 210 | <div class="container"> |
michael@0 | 211 | <div class="overflow b1"></div> |
michael@0 | 212 | <div class="overflow b2"></div> |
michael@0 | 213 | <div class="overflow b3"></div> |
michael@0 | 214 | <div class="overflow b4"> |
michael@0 | 215 | <div class="overflow child1"></div> |
michael@0 | 216 | <div class="overflow child2"></div> |
michael@0 | 217 | </div> |
michael@0 | 218 | <div class="overflow b5"></div> |
michael@0 | 219 | <div class="overflow b6"></div> |
michael@0 | 220 | </div> |
michael@0 | 221 | </div> |
michael@0 | 222 | <p class="following f1"> |
michael@0 | 223 | </p> |
michael@0 | 224 | <div class="container"> |
michael@0 | 225 | <div class="overflow c1"></div> |
michael@0 | 226 | <div class="overflow c2"></div> |
michael@0 | 227 | <div class="overflow c3"></div> |
michael@0 | 228 | <div class="overflow c4"></div> |
michael@0 | 229 | </div> |
michael@0 | 230 | <div class="following f2"></div> |
michael@0 | 231 | </div> |
michael@0 | 232 | <div id="redline"></div> |
michael@0 | 233 | </body> |
michael@0 | 234 | </html> |