| Index: LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area.html
|
| diff --git a/LayoutTests/fast/dom/shadow/pseudoclass-update-link-area.html b/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area.html
|
| similarity index 81%
|
| copy from LayoutTests/fast/dom/shadow/pseudoclass-update-link-area.html
|
| copy to LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area.html
|
| index e74f8984286feeaf1271b7bdcb383e668015619b..3e79dc695710cc504fd90abb8c2c7917e8a1dccf 100644
|
| --- a/LayoutTests/fast/dom/shadow/pseudoclass-update-link-area.html
|
| +++ b/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area.html
|
| @@ -1,21 +1,11 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -</head>
|
| -
|
| -<body>
|
| -
|
| <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();
|
| @@ -40,8 +30,8 @@ host1.appendChild(area2);
|
| host2.appendChild(area3);
|
| host2.appendChild(area4);
|
|
|
| -host1.createShadowRoot().innerHTML = '<content select="area:link"></content>';
|
| -host2.createShadowRoot().innerHTML = '<content select="area:link"></content>';
|
| +host1.createShadowRoot().innerHTML = '<content select="area:enabled"></content>';
|
| +host2.createShadowRoot().innerHTML = '<content select="area:enabled"></content>';
|
|
|
| setTimeout(function() {
|
| area2.removeAttribute('href');
|
| @@ -49,8 +39,4 @@ setTimeout(function() {
|
| if (testRunner)
|
| testRunner.notifyDone();
|
| }, 0);
|
| -
|
| </script>
|
| -</body>
|
| -</html>
|
| -
|
|
|