tor-browser

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

delete.html (1974B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <meta name="timeout" content="long">
      4 <meta name="variant" content="?1-1000">
      5 <meta name="variant" content="?1001-2000">
      6 <meta name="variant" content="?2001-3000">
      7 <meta name="variant" content="?3001-4000">
      8 <meta name="variant" content="?4001-5000">
      9 <meta name="variant" content="?5001-6000">
     10 <meta name="variant" content="?6001-7000">
     11 <meta name="variant" content="?7001-last">
     12 <link rel=stylesheet href=../include/reset.css>
     13 <title>delete - HTML editing conformance tests</title>
     14 
     15 <div id=log></div>
     16 
     17 <div id=test-container></div>
     18 
     19 <script src=../include/implementation.js></script>
     20 <script>var testsJsLibraryOnly = true</script>
     21 <script src=../include/tests.js></script>
     22 <script src=../data/delete.js></script>
     23 <script src=/resources/testharness.js></script>
     24 <script src=/resources/testharnessreport.js></script>
     25 <script src="/common/subset-tests.js"></script>
     26 <script>
     27 "use strict";
     28 
     29 (function() {
     30    // Make document.body.innerHTML more tidy by removing unnecessary things.
     31    [].forEach.call(document.querySelectorAll("script"), function(node) {
     32        node.parentNode.removeChild(node);
     33    });
     34 
     35    if (true) {
     36        // Silly hack: the CSS styling flag should be true, not false, to match
     37        // expected results.  This is because every group of tests except the
     38        // last (multitest) sets styleWithCSS automatically, and it sets it
     39        // first to false and then to true.  Thus it's left at true at the end
     40        // of each group of tests, so in gentest.html it will be true when
     41        // starting each group of tests other than the first.  But browsers are
     42        // supposed to default it to false when the page loads, so flip it.
     43        try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
     44    }
     45 
     46    browserTests.forEach(runConformanceTest);
     47 
     48    document.getElementById("test-container").parentNode
     49        .removeChild(document.getElementById("test-container"));
     50 })();
     51 </script>