summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/420790-1.xhtml
blob: 5dfe004a5224702bb13a93e071d828c462b6f7c6 (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
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<bindings xmlns="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml">
  <binding id="foo">
    <content><html:span>ABC DEF<children xmlns="http://www.mozilla.org/xbl"/></html:span></content>
  </binding>
</bindings>

<script type="text/javascript">

function boom()
{
  var cap = document.getElementById("cap");
  var space = document.createTextNode(" ");
  cap.insertBefore(space, cap.firstChild);
}

</script>

</head>

<body onload="boom();">&#x202D;<caption id="cap" style="-moz-binding: url('#foo');"><span style="display: none;"/></caption></body>

</html>