| Index: third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/script-tests/elementRoot.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/script-tests/elementRoot.js b/third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/script-tests/elementRoot.js
|
| deleted file mode 100644
|
| index 650ae0da799f7a46f197507f6f878ec19e9bfdd5..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/script-tests/elementRoot.js
|
| +++ /dev/null
|
| @@ -1,17 +0,0 @@
|
| -description(
|
| -"This tests that querySelector and querySelectorAll don't search outside their root node."
|
| -);
|
| -
|
| -var root = document.createElement('div');
|
| -var correctNode = document.createElement('div');
|
| -root.appendChild(correctNode);
|
| -document.body.appendChild(root);
|
| -var noChild = document.createElement('div');
|
| -document.body.appendChild(noChild);
|
| -
|
| -shouldBe("root.querySelector('div')", "correctNode");
|
| -shouldBe("root.querySelectorAll('div').length", "1");
|
| -shouldBe("root.querySelectorAll('div').item(0)", "correctNode");
|
| -
|
| -shouldBeNull("noChild.querySelector('div')");
|
| -shouldBe("noChild.querySelectorAll('div').length", "0");
|
|
|