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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html

Issue 1685063002: Make 'mode' required parameter for Element.attachShadow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes for 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/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 704553ea35be33e4cd4a105668cf65bf15bcf769..9a2413de9435c6b057f1df9a4bcd52577bc04471 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.attachShadow({ 'delegatesFocus': delegatesFocus })
+ this.attachShadow({ 'mode': 'open', 'delegatesFocus': delegatesFocus })
.appendChild(
document.importNode(template.content, true)
);

Powered by Google App Engine
This is Rietveld 408576698