Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | |
michael@0 | 5 | <style type="text/css"> |
michael@0 | 6 | |
michael@0 | 7 | .container { |
michael@0 | 8 | position: relative; |
michael@0 | 9 | } |
michael@0 | 10 | #colset { |
michael@0 | 11 | -moz-column-count: 3; |
michael@0 | 12 | -moz-column-gap: 0; |
michael@0 | 13 | border: silver 2pt; |
michael@0 | 14 | border-style: none solid; |
michael@0 | 15 | } |
michael@0 | 16 | .b1 { |
michael@0 | 17 | position: absolute; |
michael@0 | 18 | height: 336pt; |
michael@0 | 19 | margin-left: 20pt; |
michael@0 | 20 | } |
michael@0 | 21 | .b2 { |
michael@0 | 22 | position: absolute; |
michael@0 | 23 | height: 192pt; |
michael@0 | 24 | width: 25pt; |
michael@0 | 25 | margin-left: 50pt; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | </style> |
michael@0 | 29 | |
michael@0 | 30 | <script type="text/javascript"> |
michael@0 | 31 | |
michael@0 | 32 | function boom() |
michael@0 | 33 | { |
michael@0 | 34 | newDiv = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); |
michael@0 | 35 | newDiv.setAttribute("class", "b1"); |
michael@0 | 36 | document.getElementById("f").appendChild(newDiv); |
michael@0 | 37 | } |
michael@0 | 38 | |
michael@0 | 39 | </script> |
michael@0 | 40 | </head> |
michael@0 | 41 | |
michael@0 | 42 | <body onload="boom();"> |
michael@0 | 43 | |
michael@0 | 44 | <div id="colset"><div class="container"><div class="b2"></div><div id="f"></div></div></div> |
michael@0 | 45 | |
michael@0 | 46 | </body> |
michael@0 | 47 | </html> |