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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-element-inactive.html

Issue 1751953003: Remove the support of multiple shadow roots with a user agent shadow root (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix failing tests Created 4 years, 10 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/shadow-element-inactive.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-element-inactive.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-element-inactive.html
deleted file mode 100644
index 6528e47f7291eaa3a974125a8d606d88109221d7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-element-inactive.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<body>
-<script src="../../../resources/js-test.js"></script>
-<script>
-description('We should not expose UA shadow nodes.');
-
-var elementNames = ['details', 'embed', 'input', 'object', 'summary'];
-var root2;
-elementNames.forEach(function(elementName) {
- debug(elementName);
- var target = document.createElement(elementName);
- document.body.appendChild(target);
- var root1 = target.createShadowRoot();
- root1.innerHTML = '<div><shadow></shadow></div>';
- root2 = root1.firstChild.createShadowRoot();
- root2.innerHTML = '<content select="*"></content>';
- shouldBe('root2.firstChild.getDistributedNodes().length', '0');
- document.body.removeChild(target);
-});
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698