OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/polyfill.js"></script> | |
5 </head> | 4 </head> |
6 | 5 |
7 <body> | 6 <body> |
8 | 7 |
9 <p>When an anchor tag catch 'href' attribute or release 'href' attribute, distri
bution should happen.</p> | 8 <p>When an anchor tag catch 'href' attribute or release 'href' attribute, distri
bution should happen.</p> |
10 | 9 |
11 <div id="host1"> | 10 <div id="host1"> |
12 <a id="anchor1" href="http://www.example.com/">Anchor 1</a> | 11 <a id="anchor1" href="http://www.example.com/">Anchor 1</a> |
13 <a id="anchor2" href="http://www.example.com/">Anchor 2</a> | 12 <a id="anchor2" href="http://www.example.com/">Anchor 2</a> |
14 </div> | 13 </div> |
(...skipping 13 matching lines...) Expand all Loading... |
28 setTimeout(function() { | 27 setTimeout(function() { |
29 anchor2.removeAttribute('href'); | 28 anchor2.removeAttribute('href'); |
30 anchor4.setAttribute('href', 'http://www.example.com/'); | 29 anchor4.setAttribute('href', 'http://www.example.com/'); |
31 testRunner.notifyDone(); | 30 testRunner.notifyDone(); |
32 }, 0); | 31 }, 0); |
33 | 32 |
34 </script> | 33 </script> |
35 </body> | 34 </body> |
36 </html> | 35 </html> |
37 | 36 |
OLD | NEW |