summaryrefslogtreecommitdiffstats
path: root/layout/reftests/dom/xbl-children-2.xhtml
blob: 97b511538520bb803ff6b57dafe950fa84542874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xbl="http://www.mozilla.org/xbl">
<head>
  <style>
    .forced { display:block; }
  </style>
</head>
<body>
  <xbl:children>
    FAIL
  </xbl:children>

  <xbl:children class="forced">
    FAIL
  </xbl:children>

  <xbl:children />

  <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>