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 | <head> |
michael@0 | 3 | <bindings xmlns="http://www.mozilla.org/xbl"> |
michael@0 | 4 | <binding id="x"><content><span>a |
michael@0 | 5 | b<children xmlns="http://www.mozilla.org/xbl"/></span></content></binding> |
michael@0 | 6 | </bindings> |
michael@0 | 7 | <style> |
michael@0 | 8 | div#d { |
michael@0 | 9 | white-space: pre; |
michael@0 | 10 | -moz-binding: url(#x); |
michael@0 | 11 | } |
michael@0 | 12 | span#s { |
michael@0 | 13 | display: inline-block; |
michael@0 | 14 | } |
michael@0 | 15 | </style> |
michael@0 | 16 | <script> |
michael@0 | 17 | function boom() |
michael@0 | 18 | { |
michael@0 | 19 | document.getElementById("s").style.display = "inline"; |
michael@0 | 20 | } |
michael@0 | 21 | </script> |
michael@0 | 22 | </head> |
michael@0 | 23 | <body onload="boom();"> |
michael@0 | 24 | <div id="d"><span id="s">s</span></div> |
michael@0 | 25 | </body> |
michael@0 | 26 | </html> |