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 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | |
michael@0 | 6 | body { |
michael@0 | 7 | -moz-column-count: 2; |
michael@0 | 8 | -moz-column-width: 100px; |
michael@0 | 9 | height: 200px; |
michael@0 | 10 | width: 400px; |
michael@0 | 11 | } |
michael@0 | 12 | .b { |
michael@0 | 13 | height: 300px; |
michael@0 | 14 | } |
michael@0 | 15 | .f { |
michael@0 | 16 | float: left; |
michael@0 | 17 | } |
michael@0 | 18 | .p { |
michael@0 | 19 | padding: 0pt 200px; |
michael@0 | 20 | } |
michael@0 | 21 | |
michael@0 | 22 | </style> |
michael@0 | 23 | |
michael@0 | 24 | <script type="text/javascript"> |
michael@0 | 25 | |
michael@0 | 26 | function boom() |
michael@0 | 27 | { |
michael@0 | 28 | var newDiv = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); |
michael@0 | 29 | var a = document.getElementById("a"); |
michael@0 | 30 | a.appendChild(newDiv); |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | </script> |
michael@0 | 34 | |
michael@0 | 35 | </head> |
michael@0 | 36 | |
michael@0 | 37 | <body onload="boom();"><div class="f"><span class="p"></span></div><div id="a"><div class="b f"><input></div></div></body> |
michael@0 | 38 | |
michael@0 | 39 | </html> |