Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
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 | } |
michael@0 | 18 | .overflow { |
michael@0 | 19 | width: 10pt; |
michael@0 | 20 | border-bottom: lime 8px solid; |
michael@0 | 21 | top: 0; |
michael@0 | 22 | } |
michael@0 | 23 | .following { |
michael@0 | 24 | position: relative; |
michael@0 | 25 | background: white; |
michael@0 | 26 | width: 100pt; |
michael@0 | 27 | } |
michael@0 | 28 | #colset { |
michael@0 | 29 | padding-top: 1px; |
michael@0 | 30 | width: 300pt; |
michael@0 | 31 | height: 2in; |
michael@0 | 32 | -moz-column-count: 3; |
michael@0 | 33 | -moz-column-gap: 0; |
michael@0 | 34 | border: silver 2pt; |
michael@0 | 35 | border-style: none solid; |
michael@0 | 36 | } |
michael@0 | 37 | #redline { |
michael@0 | 38 | width: 303pt; |
michael@0 | 39 | border-top: 8px solid red; |
michael@0 | 40 | margin-top: -1in; |
michael@0 | 41 | position: relative; |
michael@0 | 42 | z-index: -1; |
michael@0 | 43 | } |
michael@0 | 44 | |
michael@0 | 45 | .ocontainer { |
michael@0 | 46 | height: 0; |
michael@0 | 47 | position: relative; |
michael@0 | 48 | } |
michael@0 | 49 | .o1 { /* 3rd col */ |
michael@0 | 50 | height: 5in; |
michael@0 | 51 | } |
michael@0 | 52 | .a1 { /* 1st col */ |
michael@0 | 53 | position: absolute; |
michael@0 | 54 | height: 1in; |
michael@0 | 55 | width: 33pt; |
michael@0 | 56 | } |
michael@0 | 57 | .a2 { /* 2nd col */ |
michael@0 | 58 | position: absolute; |
michael@0 | 59 | height: 3in; |
michael@0 | 60 | width: 25pt; |
michael@0 | 61 | margin-left: 25pt; |
michael@0 | 62 | } |
michael@0 | 63 | .a3 { /* 3rd col */ |
michael@0 | 64 | position: absolute; |
michael@0 | 65 | height: 5in; |
michael@0 | 66 | margin-left: 10pt; |
michael@0 | 67 | } |
michael@0 | 68 | .a4 { /* 2nd col */ |
michael@0 | 69 | width: 25pt; |
michael@0 | 70 | height: 3in; |
michael@0 | 71 | } |
michael@0 | 72 | |
michael@0 | 73 | .b1 { /* 3rd col */ |
michael@0 | 74 | position: absolute; |
michael@0 | 75 | height: 336pt; |
michael@0 | 76 | margin-left: 20pt; |
michael@0 | 77 | } |
michael@0 | 78 | .b2 { /* 2nd col */ |
michael@0 | 79 | position: absolute; |
michael@0 | 80 | height: 192pt; |
michael@0 | 81 | width: 25pt; |
michael@0 | 82 | margin-left: 50pt; |
michael@0 | 83 | } |
michael@0 | 84 | .b3 { /* 3rd col */ |
michael@0 | 85 | position: absolute; |
michael@0 | 86 | height: 336pt; |
michael@0 | 87 | margin-left: 30pt; |
michael@0 | 88 | } |
michael@0 | 89 | .b4 { /* 1st col, but no border */ |
michael@0 | 90 | position: absolute; |
michael@0 | 91 | height: 48pt; |
michael@0 | 92 | border-bottom: none; |
michael@0 | 93 | } |
michael@0 | 94 | .b4 .child1 { /* 1st col */ |
michael@0 | 95 | position: absolute; |
michael@0 | 96 | height: 100%; |
michael@0 | 97 | width: 33pt; |
michael@0 | 98 | margin-left: 33pt; |
michael@0 | 99 | } |
michael@0 | 100 | .b4 .child2 { /* 3rd col */ |
michael@0 | 101 | height: 336pt; |
michael@0 | 102 | margin-left: 40pt; |
michael@0 | 103 | |
michael@0 | 104 | } |
michael@0 | 105 | .b5 { /* 1st col */ |
michael@0 | 106 | position: absolute; |
michael@0 | 107 | height: 48pt; |
michael@0 | 108 | width: 34pt; |
michael@0 | 109 | margin-left: 66pt; |
michael@0 | 110 | } |
michael@0 | 111 | .b6 { /* 3rd col */ |
michael@0 | 112 | height: 336pt; |
michael@0 | 113 | margin-left: 50pt; |
michael@0 | 114 | } |
michael@0 | 115 | |
michael@0 | 116 | .c1 { /* 3rd col */ |
michael@0 | 117 | position: absolute; |
michael@0 | 118 | height: 3in; |
michael@0 | 119 | margin-left: 60pt; |
michael@0 | 120 | } |
michael@0 | 121 | .c2 { /* 2nd col */ |
michael@0 | 122 | position: absolute; |
michael@0 | 123 | height: 1in; |
michael@0 | 124 | width: 25pt; |
michael@0 | 125 | margin-left: 75pt; |
michael@0 | 126 | } |
michael@0 | 127 | .c3 { /* 3rd col */ |
michael@0 | 128 | position: absolute; |
michael@0 | 129 | height: 3in; |
michael@0 | 130 | margin-left: 70pt; |
michael@0 | 131 | } |
michael@0 | 132 | .c4 { /* 3rd col */ |
michael@0 | 133 | height: 3in; |
michael@0 | 134 | width: 20pt; |
michael@0 | 135 | margin-left: 80pt; |
michael@0 | 136 | } |
michael@0 | 137 | |
michael@0 | 138 | .f1 { |
michael@0 | 139 | margin-top: -48pt; |
michael@0 | 140 | height: 48pt; |
michael@0 | 141 | margin-bottom: 96pt; |
michael@0 | 142 | } |
michael@0 | 143 | .f2 { |
michael@0 | 144 | margin-top: -24pt; |
michael@0 | 145 | height: 24pt; |
michael@0 | 146 | } |
michael@0 | 147 | |
michael@0 | 148 | .centerline { |
michael@0 | 149 | margin: 0 auto; |
michael@0 | 150 | top: 0; |
michael@0 | 151 | left: 0; |
michael@0 | 152 | right: 0; |
michael@0 | 153 | position: absolute; |
michael@0 | 154 | width: 8px; |
michael@0 | 155 | height: 6in; |
michael@0 | 156 | background: aqua; |
michael@0 | 157 | } |
michael@0 | 158 | |
michael@0 | 159 | #dynamo { |
michael@0 | 160 | background: transparent; |
michael@0 | 161 | border-bottom: 8px solid orange; |
michael@0 | 162 | z-index: 10; |
michael@0 | 163 | height: 192pt; |
michael@0 | 164 | } |
michael@0 | 165 | |
michael@0 | 166 | </style> |
michael@0 | 167 | </head> |
michael@0 | 168 | <body onload="document.getElementById('dynamo').style.height = '48pt'; |
michael@0 | 169 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 170 | document.getElementById('dynamo').style.height = '336pt'; |
michael@0 | 171 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 172 | document.getElementById('dynamo').style.height = '48pt'; |
michael@0 | 173 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 174 | document.getElementById('dynamo').style.height = '192pt'; |
michael@0 | 175 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 176 | document.getElementById('dynamo').style.height = '1500pt'; |
michael@0 | 177 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 178 | document.getElementById('dynamo').style.height = '48pt'; |
michael@0 | 179 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 180 | document.getElementById('dynamo').style.height = '192pt'; |
michael@0 | 181 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 182 | document.getElementById('dynamo').style.height = '336pt'; |
michael@0 | 183 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 184 | document.getElementById('dynamo').style.height = '192pt'; |
michael@0 | 185 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 186 | document.getElementById('dynamo').style.height = '48pt'; |
michael@0 | 187 | document.getElementById('dynamo').offsetHeight; |
michael@0 | 188 | document.getElementById('dynamo').style.height = '192pt'; |
michael@0 | 189 | document.documentElement.className = '' |
michael@0 | 190 | "> |
michael@0 | 191 | <p>There must be a single green line with an orange square where |
michael@0 | 192 | it intersects with the middle aqua line, and no red. The following |
michael@0 | 193 | links must move the orange square to the intersection with the |
michael@0 | 194 | indicated aqua line:</p> |
michael@0 | 195 | <p> |
michael@0 | 196 | <a href="asdljlwjerlk-unvisited" onclick="document.getElementById('dynamo').style.height = '48pt'; return false;">Left</a> |
michael@0 | 197 | <a href="asdljlwjerlk-unvisited" onclick="document.getElementById('dynamo').style.height = '192pt'; return false;">Center</a> |
michael@0 | 198 | <a href="asdljlwjerlk-unvisited" onclick="document.getElementById('dynamo').style.height = '336pt'; return false;">Right</a> |
michael@0 | 199 | </p> |
michael@0 | 200 | <div id="colset"> |
michael@0 | 201 | <div> |
michael@0 | 202 | <div class="ocontainer"> |
michael@0 | 203 | <div class="centerline"></div> |
michael@0 | 204 | <div class="overflow o1"></div> |
michael@0 | 205 | </div> |
michael@0 | 206 | <div class="container"> |
michael@0 | 207 | <div class="overflow a1"></div> |
michael@0 | 208 | <div class="overflow a2"></div> |
michael@0 | 209 | <div class="overflow a3"></div> |
michael@0 | 210 | <div class="overflow a4"></div> |
michael@0 | 211 | </div> |
michael@0 | 212 | <div class="ocontainer"> |
michael@0 | 213 | <div id="dynamo" class="centerline"></div> |
michael@0 | 214 | </div> |
michael@0 | 215 | <div class="container"> |
michael@0 | 216 | <div class="overflow b1"></div> |
michael@0 | 217 | <div class="overflow b2"></div> |
michael@0 | 218 | <div class="overflow b3"></div> |
michael@0 | 219 | <div class="overflow b4"> |
michael@0 | 220 | <div class="overflow child1"></div> |
michael@0 | 221 | <div class="overflow child2"></div> |
michael@0 | 222 | </div> |
michael@0 | 223 | <div class="overflow b5"></div> |
michael@0 | 224 | <div class="overflow b6"></div> |
michael@0 | 225 | </div> |
michael@0 | 226 | </div> |
michael@0 | 227 | <p class="following f1"> |
michael@0 | 228 | </p> |
michael@0 | 229 | <div class="container"> |
michael@0 | 230 | <div class="overflow c1"></div> |
michael@0 | 231 | <div class="overflow c2"></div> |
michael@0 | 232 | <div class="overflow c3"></div> |
michael@0 | 233 | <div class="overflow c4"></div> |
michael@0 | 234 | </div> |
michael@0 | 235 | <div class="following f2"></div> |
michael@0 | 236 | </div> |
michael@0 | 237 | <div id="redline"></div> |
michael@0 | 238 | </body> |
michael@0 | 239 | </html> |