summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/405186-1.xhtml
blob: 45eea59a49634f780b2c09dee524bc058f948139 (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
29
30
31
32
33
34
35
36
37
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<bindings xmlns="http://www.mozilla.org/xbl">
  <binding id="foo">
    <content>
      <div xmlns="http://www.w3.org/1999/xhtml" style="position: fixed;">
        <children xmlns="http://www.mozilla.org/xbl"/>
      </div>
    </content>
  </binding>
</bindings>

<script type="text/javascript">

function boom()
{
  var tr = document.getElementById("tr");
  var td = document.getElementById("td");
  
  tr.removeChild(td);
}

</script>
</head>

<body onload="boom();">

<table id="table" style="-moz-binding: url(#foo);">
  <tr id="tr">
    <td id="td">Text</td>
  </tr>
</table>

</body>

</html>