mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
38 lines
651 B
HTML
38 lines
651 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
|
|
<bindings xmlns="http://www.mozilla.org/xbl">
|
|
<binding id="foo">
|
|
<content>
|
|
<div xmlns="http://www.w3.org/1999/xhtml" style="position: fixed;">
|
|
<children xmlns="http://www.mozilla.org/xbl"/>
|
|
</div>
|
|
</content>
|
|
</binding>
|
|
</bindings>
|
|
|
|
<script type="text/javascript">
|
|
|
|
function boom()
|
|
{
|
|
var tr = document.getElementById("tr");
|
|
var td = document.getElementById("td");
|
|
|
|
tr.removeChild(td);
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();">
|
|
|
|
<table id="table" style="-moz-binding: url(#foo);">
|
|
<tr id="tr">
|
|
<td id="td">Text</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|