Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/test-005.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/test-005.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/test-005.html |
deleted file mode 100644 |
index fe997465b902b051653f50a9244e4ffeb99e0ad1..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/test-005.html |
+++ /dev/null |
@@ -1,73 +0,0 @@ |
-<!DOCTYPE html> |
-<!-- |
-Distributed under both the W3C Test Suite License [1] and the W3C |
-3-clause BSD License [2]. To contribute to a W3C Test Suite, see the |
-policies and contribution forms [3]. |
- |
-[1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license |
-[2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license |
-[3] http://www.w3.org/2004/10/27-testcases |
- --> |
-<html> |
-<head> |
-<title>Shadow DOM Test: A_04_01_05</title> |
-<link rel="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru"> |
-<link rel="help" href="http://www.w3.org/TR/2013/WD-shadow-dom-20130514/#upper-boundary-encapsulation"> |
-<meta name="assert" content="Upper-boundary encapsulation:The nodes with a unique id and named elements are not addressable from any attributes of elements in shadow host's document"> |
-<script src="../../../../../../resources/testharness.js"></script> |
-<script src="../../../../../../resources/testharnessreport.js"></script> |
-<script src="../../../../html/resources/common.js"></script> |
-</head> |
-<body> |
-<div id="log"></div> |
-<script> |
-// check label.for attribute |
-test(function () { |
- var d = newHTMLDocument(); |
- var div = d.createElement('div'); |
- d.body.appendChild(div); |
- var s = div.attachShadow({mode: 'open'}); |
- |
- // node in shadow with id |
- var input = d.createElement('input'); |
- input.setAttribute('type', 'text'); |
- input.setAttribute('id', 'input_id'); |
- d.body.appendChild(input); |
- s.appendChild(input); |
- |
- // node in host with a reference to host element with id |
- var label = d.createElement('label'); |
- label.setAttribute('for', 'input_id'); |
- d.body.appendChild(label); |
- |
- assert_equals(label.control, null, 'Elements in shadow DOM must not be accessible from ' + |
- 'owner\'s document label.for attribute'); |
- |
-}, 'A_04_01_05_T01'); |
- |
-// check form associated elements |
-test(function () { |
- |
- HTML5_FORM_ASSOCIATED_ELEMENTS.forEach(function (tagName) { |
- var d = newHTMLDocument(); |
- var div = d.createElement('div'); |
- d.body.appendChild(div); |
- var s = div.attachShadow({mode: 'open'}); |
- |
- var form = d.createElement('form'); |
- form.setAttribute('id', 'form_id'); |
- d.body.appendChild(form); |
- |
- var el = d.createElement(tagName); |
- el.setAttribute('form', 'form_id'); |
- d.body.appendChild(el); |
- |
- s.appendChild(form); |
- |
- assert_equals(el.form, null, 'Elements in shadow DOM must not be accessible from ' + |
- 'owner\'s document ' + tagName + '.form attribute'); |
- }); |
-}, 'A_04_01_05_T02'); |
-</script> |
-</body> |
-</html> |