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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.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/delegatesFocus-highlight-sibling.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html
index e3132637c81ecd8344303c44babefd91a79e5e0d..704553ea35be33e4cd4a105668cf65bf15bcf769 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html
@@ -45,7 +45,7 @@ function RegisterXMenu() {
var xMenuProto = Object.create(HTMLElement.prototype);
xMenuProto.createdCallback = function() {
var delegatesFocus = this.hasAttribute('delegatesFocus');
- this.createShadowRoot({ 'delegatesFocus': delegatesFocus })
+ this.attachShadow({ 'delegatesFocus': delegatesFocus })
.appendChild(
document.importNode(template.content, true)
);

Powered by Google App Engine
This is Rietveld 408576698