mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
28 lines
673 B
HTML
28 lines
673 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<bindings xmlns="http://www.mozilla.org/xbl">
|
|
<binding id="foo">
|
|
<content><html:span><children xmlns="http://www.mozilla.org/xbl"/></html:span></content>
|
|
</binding>
|
|
</bindings>
|
|
|
|
<script type="text/javascript">
|
|
|
|
function boom()
|
|
{
|
|
var s = document.getAnonymousNodes(document.body)[0];
|
|
s.appendChild(document.createTextNode("apples and oranges"));
|
|
document.body.offsetHeight;
|
|
document.body.appendChild(document.createTextNode("\n\n"));
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body onload="boom();" style="-moz-binding: url('#foo'); width: 1px; word-spacing: 1px;"></body>
|
|
|
|
</html>
|