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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/focus-shadowhost-display-none.html

Issue 1408443003: Add Element.attachShadow under the ShadowDOMV1 runtime flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rewrite a test Created 5 years, 2 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/focus-shadowhost-display-none.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-shadowhost-display-none.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-shadowhost-display-none.html
index 01c2fe2148478d214f7a7eae3926240e985d0c40..6a6f7f9d75e6a5254aa782266f91273c2a63c258 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-shadowhost-display-none.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/focus-shadowhost-display-none.html
@@ -17,7 +17,7 @@ function setupShadowDOM(delegatesFocus) {
host = sandbox.appendChild(document.createElement('div'));
host.id = 'host';
- root = host.createShadowRoot({ 'delegatesFocus': delegatesFocus });
+ root = host.attachShadow({ 'delegatesFocus': delegatesFocus });
input = document.createElement('input');
root.appendChild(input);

Powered by Google App Engine
This is Rietveld 408576698