Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html

Issue 1962003002: Import web-platform-tests@41d6911b288a9624c249a406b9bf51607a2dd04d (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Skip submit-entity-body.html Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html
index 5c35f6b66010464b0f5cff6d69626dab5f5afd8c..d7445d4328b1b04c0e4d53d409f4d35ac03d0887 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html
@@ -20,7 +20,8 @@
<script></script>
</template>
<div id='doc'></div>
-<div id='host'></div>
+<div id='host-open'></div>
+<div id='host-closed'></div>
</body>
<script>
'use strict';
@@ -41,9 +42,13 @@ var doc = document.getElementById('doc');
fillTemplate(doc, 'doc-');
// Construct shadow subtree with 'shadow-*' ids.
-var host = document.getElementById('host');
+var host = document.getElementById('host-open');
var shadow = host.attachShadow({mode: 'open'});
-fillTemplate(shadow, 'shadow-');
+fillTemplate(shadow, 'shadow-open-');
+
+host = document.getElementById('host-closed');
+shadow = host.attachShadow({mode: 'closed'});
+fillTemplate(shadow, 'shadow-closed-');
function testCollection(collection) {
var elements = document[collection];

Powered by Google App Engine
This is Rietveld 408576698