| Index: LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-anchor.html
|
| diff --git a/LayoutTests/fast/dom/shadow/pseudoclass-update-visited-anchor.html b/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-anchor.html
|
| similarity index 75%
|
| copy from LayoutTests/fast/dom/shadow/pseudoclass-update-visited-anchor.html
|
| copy to LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-anchor.html
|
| index 169f42cc0cbf94d218ebe2fefe166318687bb306..53ea18d35e9201e01210b2df79c1c05ce4e6b913 100644
|
| --- a/LayoutTests/fast/dom/shadow/pseudoclass-update-visited-anchor.html
|
| +++ b/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-anchor.html
|
| @@ -1,36 +1,22 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -</head>
|
| -
|
| -<body>
|
| -
|
| <p>When an anchor tag catch 'href' attribute or release 'href' attribute, distribution should happen.</p>
|
| -
|
| <div id="host1">
|
| <a id="anchor1" href="http://www.example.com/">Anchor 1</a>
|
| <a id="anchor2" href="http://www.example.com/">Anchor 2</a>
|
| </div>
|
| -
|
| <div id="host2">
|
| <a id="anchor3">Anchor 3</a>
|
| <a id="anchor4">Anchor 4</a>
|
| </div>
|
| -
|
| <script>
|
| if (window.testRunner)
|
| testRunner.waitUntilDone();
|
|
|
| -host1.createShadowRoot().innerHTML = '<content select=":visited"></content>';
|
| -host2.createShadowRoot().innerHTML = '<content select=":visited"></content>';
|
| +host1.createShadowRoot().innerHTML = '<content select=":enabled"></content>';
|
| +host2.createShadowRoot().innerHTML = '<content select=":enabled"></content>';
|
|
|
| setTimeout(function() {
|
| anchor2.removeAttribute('href');
|
| anchor4.setAttribute('href', 'http://www.example.com/');
|
| testRunner.notifyDone();
|
| }, 0);
|
| -
|
| </script>
|
| -</body>
|
| -</html>
|
| -
|
|
|