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'); |