Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml" |
michael@0 | 2 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style> |
michael@0 | 5 | .base { -moz-binding: url("395331-xbl.xml#base"); } |
michael@0 | 6 | .inner { -moz-binding: url("395331-xbl.xml#inner"); } |
michael@0 | 7 | </style> |
michael@0 | 8 | <script> |
michael@0 | 9 | function boom() |
michael@0 | 10 | { |
michael@0 | 11 | var x = document.getElementById("x"); |
michael@0 | 12 | x.removeChild(x.firstChild); |
michael@0 | 13 | } |
michael@0 | 14 | </script> |
michael@0 | 15 | </head> |
michael@0 | 16 | <body onload="boom();"> |
michael@0 | 17 | <xul:box class="base" id="x" style="height:2em;">Hello</xul:box>Kitty |
michael@0 | 18 | </body> |
michael@0 | 19 | </html> |