| Index: LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area.html
|
| diff --git a/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area.html b/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area.html
|
| deleted file mode 100644
|
| index 3e79dc695710cc504fd90abb8c2c7917e8a1dccf..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area.html
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -<style>
|
| -area {
|
| - display: inline;
|
| -}
|
| -</style>
|
| -<p>When an anchor tag catch 'href' attribute or release 'href' attribute, distribution should happen.</p>
|
| -<div id="host1"></div>
|
| -<div id="host2"></div>
|
| -<script>
|
| -if (window.testRunner)
|
| - testRunner.waitUntilDone();
|
| -
|
| -function createArea(href, textContent)
|
| -{
|
| - var area = document.createElement('area');
|
| - if (href)
|
| - area.setAttribute('href', href);
|
| - area.appendChild(document.createTextNode(textContent));
|
| -
|
| - return area;
|
| -}
|
| -
|
| -var area1 = createArea('http://www.example.com/', 'Anchor 1');
|
| -var area2 = createArea('http://www.example.com/', 'Anchor 2');
|
| -var area3 = createArea(null, 'Anchor 3');
|
| -var area4 = createArea(null, 'Anchor 4');
|
| -
|
| -host1.appendChild(area1);
|
| -host1.appendChild(area2);
|
| -host2.appendChild(area3);
|
| -host2.appendChild(area4);
|
| -
|
| -host1.createShadowRoot().innerHTML = '<content select="area:enabled"></content>';
|
| -host2.createShadowRoot().innerHTML = '<content select="area:enabled"></content>';
|
| -
|
| -setTimeout(function() {
|
| - area2.removeAttribute('href');
|
| - area4.setAttribute('href', 'http://www.example.com/');
|
| - if (testRunner)
|
| - testRunner.notifyDone();
|
| -}, 0);
|
| -</script>
|
|
|