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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/labelsnodelist-in-shadow.html

Issue 1774113002: Move Shadow DOM V1 tests from fast/dom/shadow to shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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/fast/dom/shadow/labelsnodelist-in-shadow.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/labelsnodelist-in-shadow.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/labelsnodelist-in-shadow.html
deleted file mode 100644
index 2afeffd86a010f4bb6072ca68d88c581f8ca1fb8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/labelsnodelist-in-shadow.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<!DOCTYPE html>
-<body>
-<script src="../../../resources/testharness.js"></script>
-<script src="../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-test(function() {
- var host = document.createElement('div');
- var root = host.attachShadow({mode: 'open'});
- root.innerHTML = '<input id="i1"><label for="i1"></label>';
- assert_equals(root.firstChild.labels.length, 1);
-
- document.body.appendChild(host);
- assert_equals(root.firstChild.labels.length, 1);
-}, 'LabelsNodeList should work in Shadow DOM.');
-</script>

Powered by Google App Engine
This is Rietveld 408576698