| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/link-in-shadow-tree.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/link-in-shadow-tree.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/link-in-shadow-tree.html
|
| deleted file mode 100644
|
| index 343636a3b4f2a98bda58efc3c340c5f3ccb3af1a..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/link-in-shadow-tree.html
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -</head>
|
| -<body>
|
| -<div id="container"><span id="in-host-children" class="kotori" href="/">tehepero</span></div>
|
| -<div><span id="outside-of-shadow" class="kotori" href="/">tehepero</span></div>
|
| -
|
| -<script src="../../../resources/js-test.js"></script>
|
| -<script>
|
| -function computedBackgroundColor(elem) {
|
| - var style = document.defaultView.getComputedStyle(elem, '');
|
| - return style.backgroundColor;
|
| -}
|
| -
|
| -var container = document.getElementById('container');
|
| -
|
| -var shadowRoot = container.createShadowRoot();
|
| -
|
| -var link = document.createElement('link');
|
| -link.setAttribute('rel', 'stylesheet');
|
| -link.setAttribute('href', 'resources/link-in-shadow-style.css');
|
| -
|
| -var spanInShadow = document.createElement('span');
|
| -spanInShadow.innerHTML = 'tehepero';
|
| -spanInShadow.className = 'kotori';
|
| -
|
| -shadowRoot.appendChild(link);
|
| -shadowRoot.appendChild(spanInShadow);
|
| -shadowRoot.appendChild(document.createElement('content'));
|
| -
|
| -var spanInHostChildren = document.getElementById('in-host-children');
|
| -var spanOutsideOfShadow = document.getElementById('outside-of-shadow');
|
| -
|
| -shouldBe('computedBackgroundColor(spanInShadow)', '"rgba(0, 0, 0, 0)"');
|
| -shouldBe('computedBackgroundColor(spanInHostChildren)', '"rgba(0, 0, 0, 0)"');
|
| -shouldBe('computedBackgroundColor(spanOutsideOfShadow)', '"rgba(0, 0, 0, 0)"');
|
| -
|
| -var successfullyParsed = true;
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|