Index: LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host.html |
diff --git a/LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host.html b/LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host.html |
index 184342a8775e81b59c40f5f268fa3f42dcc3a806..c71bac76e1d95f6c43ae0e327d1a7fb830890b0e 100644 |
--- a/LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host.html |
+++ b/LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host.html |
@@ -193,28 +193,6 @@ shouldHaveBorderColor('host/target', 'rgb(0, 128, 0)'); |
cleanUp(); |
-debug('Test the case where there exists a style scoped in a contanining treescope.'); |
- |
-sandbox.appendChild( |
- createDOM('style', {}, |
- document.createTextNode('div:last-child { border: 1px solid blue; }'))); |
-sandbox.appendChild( |
- createDOM('div', {}, |
- createDOM('style', {'scoped': 'scoped'}, |
- document.createTextNode(':last-child { border: 1px solid red }')), |
- createDOM('div', {'id': 'host'}, |
- createShadowRoot( |
- createDOM('style', {}, |
- document.createTextNode(':host { border: 1px solid green; }')), |
- createDOM('content', {})), |
- createDOM('div', {'id': 'host-child'}, |
- document.createTextNode('Hello, Host!'))))); |
- |
-// Rules from style scoped win, because styles in shadow trees are treated as registered with a root node of a containing treescope. |
-shouldHaveBorderColor('host', 'rgb(255, 0, 0)'); |
- |
-cleanUp(); |
- |
debug('Test that style sharing is disabled when styles in shadow trees would match shadow hosts.'); |
sandbox.appendChild( |