tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_bug1276857_subframe.html (953B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <title>DOM mutations test</title>
      5  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
      6  <script type="application/javascript" src="../role.js"></script>
      7 </head>
      8 <body>
      9  <div id="c1">
     10    <div id="c1_t" style="display: table" role="presentation">
     11    Some text
     12    <span style="display: table-cell">something with accessibles goes here</span>
     13    More text
     14    </div>
     15  </div>
     16 
     17  <template id="tmpl">
     18    <div style="display: table" role="presentation">
     19    Some text
     20    <span style="display: table-cell">something with accessibles goes here</span>
     21    More text
     22    </div>
     23  </template>
     24 
     25  <div id="c2"><div id="c2_c" role="presentation"></div></div>
     26 
     27  <script>
     28    var gShadowRoot = document.getElementById("c2_c").attachShadow({mode: "open"});
     29    var tmpl = document.getElementById("tmpl");
     30    gShadowRoot.appendChild(document.importNode(tmpl.content, true));
     31  </script>
     32 </body>
     33 </html>