mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
24 lines
611 B
HTML
24 lines
611 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
|
|
<bindings xmlns="http://www.mozilla.org/xbl"><binding id="u">
|
|
<content><foopy><children xmlns="http://www.mozilla.org/xbl"/></foopy></content>
|
|
</binding></bindings>
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
function boom()
|
|
{
|
|
var f = document.getElementById("f");
|
|
var anon = SpecialPowers.unwrap(SpecialPowers.wrap(document).getAnonymousNodes(f))[0];
|
|
document.body.removeChild(f);
|
|
anon.appendChild(document.createElement("label"));
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();"><form id="f" style="-moz-binding: url(#u);"><label></label></form></body>
|
|
</html>
|