Index: third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html |
index 7b37d1c734852dac2399d915d7fa39bc7ed073af..7db66b8f4f29699983de4742da784d4348a5be6d 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html |
@@ -21,16 +21,16 @@ function buildShadowComposedTree(delegatesFocus1, delegatesFocus2) { |
createDOM('div', {}, |
createDOM('input', {'id': 'outer-input'}), |
createDOM('div', {'id': 'shadow-host'}, |
- createShadowRoot( |
- {'delegatesFocus': delegatesFocus1}, |
+ attachShadow( |
+ {'mode': 'open', 'delegatesFocus': delegatesFocus1}, |
createDOM('style', {}, |
document.createTextNode('div { background-color: yellow; } div#inner-shadow-host:focus { background-color: blue; }')), |
createDOM('div', {'id': 'inner-div'}, |
document.createTextNode('Blink')), |
createDOM('input', {'id': 'inner-input'}), |
createDOM('div', {'id': 'inner-shadow-host'}, |
- createShadowRoot( |
- {'delegatesFocus': delegatesFocus2}, |
+ attachShadow( |
+ {'mode': 'open', 'delegatesFocus': delegatesFocus2}, |
createDOM('div', {'id': 'inner-div2'}, |
document.createTextNode('Blink')), |
createDOM('input', {'id': 'inner-input2'}))))))); |