Index: third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html |
index 227a09dd3ea3b33b789e1f3915b22123019471cb..9eda0c00e13d00c91d76104b18ab6c6e7f8846a0 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html |
@@ -22,16 +22,16 @@ function buildNestedDistributionTree(delegatesFocus1, delegatesFocus2) { |
createDOM('input', {'id': 'outer-input'}), |
createDOM('div', {'id': 'shadow-host'}, |
createDOM('input', {'id': 'input1'}), |
- 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('input', {'id': 'input2'}), |
createDOM('div', {'id': 'inner-shadow-host'}, |
- createDOM('content', {}), // #input1 goes here |
- createShadowRoot( |
- {'delegatesFocus': delegatesFocus2}, |
- createDOM('content', {}), // #input1 redistributed here, #input2 goes here. |
+ createDOM('slot', {}), // #input1 goes here |
+ attachShadow( |
+ {'mode': 'open', 'delegatesFocus': delegatesFocus2}, |
+ createDOM('slot', {}), // #input1 redistributed here, #input2 goes here. |
createDOM('input', {'id': 'input3'}))))))); |
sandbox.offsetTop; |