mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
29 lines
544 B
HTML
29 lines
544 B
HTML
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
|
||
|
<xbl:bindings xmlns:xbl="http://www.mozilla.org/xbl">
|
||
|
<xbl:binding id="foo"><xbl:content><div style="position:relative;"><xbl:children/></div></xbl:content></xbl:binding>
|
||
|
</xbl:bindings>
|
||
|
|
||
|
<script>
|
||
|
<![CDATA[
|
||
|
function test() {
|
||
|
document.getElementById("span").innerHTML = "<table><tr><td></td></tr></table>";
|
||
|
}
|
||
|
]]>
|
||
|
</script>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body onload="test();">
|
||
|
|
||
|
<div style="-moz-binding: url(#foo)">
|
||
|
|
||
|
<div style="display:none">text</div>
|
||
|
<span id="span">text</span>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|