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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host2.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/css-focus-pseudo-match-shadow-host2.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host2.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host2.html
index 827fd07f12835a73342e4b33a46381705089f8c0..009100c5b3ffcc8ce28563127f5c60cbde5399c4 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host2.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host2.html
@@ -22,9 +22,9 @@ function buildSingleShadowTree(delegatesFocus) {
createDOM('input', {'id': 'outer-input'}),
createDOM('div', {'id': 'shadow-host'},
createDOM('input', {'id': 'lightdom-input'}),
- createShadowRoot(
- {'delegatesFocus': delegatesFocus},
- createDOM('content'),
+ attachShadow(
+ {'mode': 'open', 'delegatesFocus': delegatesFocus},
+ createDOM('slot'),
createDOM('input', {'id': 'inner-input'})))));
sandbox.offsetTop;

Powered by Google App Engine
This is Rietveld 408576698