Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!doctype html>
2 <html>
3 <head>
4 <link rel="next" href="http://www.mozilla.org">
5 <style>
6 head, link, a { display: block; }
7 link:after { content: "Link to " attr(href); }
8 </style>
9 <script>
10 window.onload = function() {
11 document.documentElement.appendChild(document.createElement("input"));
13 var l = document.createElement("link");
14 l.href = "http://www.mozilla.org";
15 l.textContent = "Another ";
16 document.documentElement.appendChild(l);
18 l = document.createElement("a");
19 l.href = "http://www.mozilla.org";
20 l.textContent = "Yet another link to mozilla";
21 document.documentElement.appendChild(l);
22 }
23 </script>
24 </head>
25 <body>
26 Hey, I'm a <body> with three links that are not inside me and an input
27 that's not inside me.
28 </body>
29 </body>
30 </html>