summaryrefslogtreecommitdiffstats
path: root/accessible/tests/mochitest/treeupdate/test_bug1276857_subframe.html
blob: 869c9ebe6c20df0ad8c46310169c651de9a83e7d (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
<!DOCTYPE HTML>
<html>
<head>
  <title>DOM mutations test</title>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
  <script type="application/javascript" src="../role.js"></script>
</head>
<body>
  <div id="c1">
    <div id="c1_t" style="display: table" role="presentation">
    Some text
    <span style="display: table-cell">something with accessibles goes here</span>
    More text
    </div>
  </div>

  <template id="tmpl">
    <div style="display: table" role="presentation">
    Some text
    <span style="display: table-cell">something with accessibles goes here</span>
    More text
    </div>
  </template>

  <div id="c2"><div id="c2_c" role="presentation"></div></div>

  <script>
    var gShadowRoot = document.getElementById("c2_c").attachShadow({mode: "open"});
    var tmpl = document.getElementById("tmpl");
    gShadowRoot.appendChild(document.importNode(tmpl.content, true));
  </script>
</body>
</html>