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

Unified Diff: third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.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/selectors/shadow-host-div-with-text.html
diff --git a/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html b/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html
index 0b967fa9730f22d80a91c37991d2e9cda5dc6c2a..ced764eec9fc9c3cdade322039348535f1eb27d1 100644
--- a/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html
+++ b/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html
@@ -2,7 +2,7 @@
<html>
<head>
<style>
- body, input {
+ body, #host {
border: 0;
margin: 0;
padding: 0;
@@ -19,11 +19,11 @@
Some hearts are diamonds some hearts are stones
</span>
</template>
- <input>
+ <div id=host></div>
<script>
- var input = document.querySelector('input');
+ var host = document.querySelector('#host');
var template = document.querySelector('template');
- var root = input.createShadowRoot();
+ var root = host.createShadowRoot();
root.appendChild(template.content);
var span = root.querySelector('span');

Powered by Google App Engine
This is Rietveld 408576698