gecko-dev/layout/reftests/dom/xbl-children-2.xhtml

32 lines
659 B
HTML
Raw Normal View History

2013-07-11 21:53:08 +00:00
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xbl="http://www.mozilla.org/xbl">
<head>
<style>
.forced { display: block; }
.forced ~ p { display: none; }
2013-07-11 21:53:08 +00:00
</style>
</head>
<body>
<xbl:children>
FAIL
</xbl:children>
<xbl:children class="forced">
FAIL
</xbl:children>
<xbl:children />
<p>FAIL</p>
2013-07-11 21:53:08 +00:00
<script>
var third = document.body.children[2];
third.appendChild(document.createTextNode("FAIL"));
var fourth = document.createElementNS("http://www.mozilla.org/xbl", "children");
fourth.appendChild(document.createTextNode("FAIL"));
document.body.appendChild(fourth);
</script>
</body>
</html>