tor-browser

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

698.html (890B)


      1 <!DOCTYPE html> 
      2 <html>
      3  <head>
      4    <title>ARIA 1.0 Test Case 698</title>
      5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      6  </head>
      7  <body>
      8    <h1>ARIA 1.0 Test Case 698</h1>
      9    
     10    <div id="TEST_ID_1" aria-live="assertive">
     11      TEST TEXT
     12    </div>
     13    
     14    <h2>Description</h2>
     15    <p>An element with an aria-live attribute is defined in markup with the value="assertive" 
     16      has a child DOM text node with content. After the onload event completes the child DOM 
     17      text node is deleted.</p>
     18    
     19    <script>  
     20 
     21      function deleteChildNodes() {
     22        var node  = document.getElementById('TEST_ID_1');  
     23        while (node.firstChild) node.removeChild(node.firstChild);
     24      }
     25 
     26      function onload() {
     27        setTimeout(deleteChildNodes,1000);
     28      }
     29     
     30      window.addEventListener('load', onload);
     31    </script>
     32  </body>
     33  
     34 </html>