summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/386310-binding.xml
blob: cf5256623af1da88571912b330739311cbfcbb9e (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
<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl"
          xmlns:html="http://www.w3.org/1999/xhtml">

  <binding id="prepend">
    <content>
      <span/>
      <children/>
    </content>
  </binding>

  <binding id="append">
    <content>
      <children/>
      <span/>
    </content>
  </binding>

  <binding id="prepend-with-comment-fix" extends="#prepend">
    <implementation>
      <constructor>
	var span = document.createComment("xbl generated comment to prevent bug #36");
	this.insertBefore(span, this.firstChild);
      </constructor>
    </implementation>
  </binding>
</bindings>