accessible/tests/mochitest/tree/dockids.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/accessible/tests/mochitest/tree/dockids.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<!doctype html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <link rel="next" href="http://www.mozilla.org">
     1.8 +    <style>
     1.9 +      head, link, a { display: block; }
    1.10 +      link:after { content: "Link to " attr(href); }
    1.11 +    </style>
    1.12 +    <script>
    1.13 +      window.onload = function() {
    1.14 +        document.documentElement.appendChild(document.createElement("input"));
    1.15 +
    1.16 +        var l = document.createElement("link");
    1.17 +        l.href = "http://www.mozilla.org";
    1.18 +        l.textContent = "Another ";
    1.19 +        document.documentElement.appendChild(l);
    1.20 +
    1.21 +        l = document.createElement("a");
    1.22 +        l.href = "http://www.mozilla.org";
    1.23 +        l.textContent = "Yet another link to mozilla";
    1.24 +        document.documentElement.appendChild(l);
    1.25 +      }
    1.26 +    </script>
    1.27 +  </head>
    1.28 +  <body>
    1.29 +    Hey, I'm a <body> with three links that are not inside me and an input
    1.30 +    that's not inside me.
    1.31 +  </body>
    1.32 +</body>
    1.33 +</html>

mercurial