1 <p>When an anchor tag catch 'href' attribute or release 'href' attribute, distribution should happen.</p>
3 <a id="anchor1" href="http://www.example.com/">Anchor 1</a>
4 <a id="anchor2" href="http://www.example.com/">Anchor 2</a>
7 <a id="anchor3">Anchor 3</a>
8 <a id="anchor4">Anchor 4</a>
11 if (window.testRunner)
12 testRunner.waitUntilDone();
14 host1.createShadowRoot().innerHTML = '<content select=":enabled"></content>';
15 host2.createShadowRoot().innerHTML = '<content select=":enabled"></content>';
17 setTimeout(function() {
18 anchor2.removeAttribute('href');
19 anchor4.setAttribute('href', 'http://www.example.com/');
20 testRunner.notifyDone();