Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <body> |
michael@0 | 4 | <fieldset id="fs1"><legend>#2</legend></fieldset> |
michael@0 | 5 | <fieldset id="fs2"><legend>#1</legend><legend>#2</legend></fieldset> |
michael@0 | 6 | <script> |
michael@0 | 7 | document.body.offsetHeight; |
michael@0 | 8 | |
michael@0 | 9 | var fs1 = document.getElementById("fs1"); |
michael@0 | 10 | var l = document.createElement("legend"); |
michael@0 | 11 | l.textContent = "#1"; |
michael@0 | 12 | fs1.insertBefore(l, fs1.firstChild); |
michael@0 | 13 | |
michael@0 | 14 | var fs2 = document.getElementById("fs2"); |
michael@0 | 15 | fs2.removeChild(fs2.firstChild); |
michael@0 | 16 | </script> |
michael@0 | 17 | </body> |
michael@0 | 18 | </html> |