зеркало из https://github.com/mozilla/gecko-dev.git
32 строки
659 B
HTML
32 строки
659 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:xbl="http://www.mozilla.org/xbl">
|
|
<head>
|
|
<style>
|
|
.forced { display: block; }
|
|
.forced ~ p { display: none; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<xbl:children>
|
|
FAIL
|
|
</xbl:children>
|
|
|
|
<xbl:children class="forced">
|
|
FAIL
|
|
</xbl:children>
|
|
|
|
<xbl:children />
|
|
|
|
<p>FAIL</p>
|
|
|
|
<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>
|