| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/satisfying-matching-criteria/test-001.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/satisfying-matching-criteria/test-001.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/satisfying-matching-criteria/test-001.html
|
| deleted file mode 100644
|
| index 251b08c643f0e2e64a7648d6ba47047095d09070..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/satisfying-matching-criteria/test-001.html
|
| +++ /dev/null
|
| @@ -1,59 +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_03_01</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/#matching-insertion-points">
|
| -<meta name="assert" content="Matching Insertion Points: A valid selector fragment may contain a type selector">
|
| -<script src="../../../../../../resources/testharness.js"></script>
|
| -<script src="../../../../../../resources/testharnessreport.js"></script>
|
| -<script src="../../testcommon.js"></script>
|
| -</head>
|
| -<body>
|
| -<div id="log"></div>
|
| -<script>
|
| -var A_04_03_01_T1 = async_test('A_04_03_01_T01');
|
| -
|
| -
|
| -A_04_03_01_T1.step(function () {
|
| - var iframe = document.createElement('iframe');
|
| - iframe.src = '../../resources/bobs_page.html';
|
| - document.body.appendChild(iframe);
|
| -
|
| - iframe.onload = A_04_03_01_T1.step_func(function () {
|
| - try {
|
| - var d = iframe.contentDocument;
|
| - var div = d.querySelector('#divid');
|
| - var s = div.createShadowRoot();
|
| -
|
| - //make shadow subtree
|
| - var subdiv1 = document.createElement('div');
|
| - subdiv1.innerHTML = '<content select="span"></content>';
|
| - s.appendChild(subdiv1);
|
| -
|
| - //The order of DOM elements should be the following:
|
| - // <ul class='stories'>, <span>. Invisible: <ul id="ul2">
|
| -
|
| - assert_true(d.querySelector('ul.stories').offsetTop < d.querySelector('#spandex').offsetTop,
|
| - 'A valid selector fragment may contain \'span\' type selector');
|
| -
|
| - assert_equals(d.querySelector('#ul2').offsetTop, 0,
|
| - '<ul> element shouldn\'t match "span" type selector');
|
| - } finally {
|
| - iframe.parentNode.removeChild(iframe);
|
| - }
|
| - A_04_03_01_T1.done();
|
| - });
|
| -});
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|