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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-progress-with-style.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/shadowdom-for-progress-with-style.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-progress-with-style.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-progress-with-style.html
deleted file mode 100644
index bdffac896baaf7c22ac1bbb6144cae3cace20f24..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-progress-with-style.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<div id="container">
- <progress id="host" min="0" max="100" value="50"></progress>
-</div>
-
-<script>
-var style = document.createElement('style');
-style.textContent = " \
- progress { \
- display: block; \
- margin: 0; \
- padding: 0; \
- width: auto; \
- height: 3em; \
- vertical-align: 0; \
- } \
- \
- progress::-webkit-progress-inner-element { \
- -webkit-appearance: progress-bar; /* We have to write this for now. Please see Bug 92455. */ \
- display: block; \
- width: 15em; \
- height: 3em; \
- }";
-document.querySelector('head').appendChild(style);
-
-if (window.internals)
- internals.settings.setAuthorShadowDOMForAnyElementEnabled(true);
-
-var shadowRoot = host.createShadowRoot();
-shadowRoot.innerHTML = "<div style='margin-left: 100px'><shadow></shadow><span>(after)</span></div>";
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698