Index: LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector.html |
diff --git a/LayoutTests/fast/dom/shadow/distributed-pseudo-element-match-descendant.html b/LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector.html |
similarity index 55% |
copy from LayoutTests/fast/dom/shadow/distributed-pseudo-element-match-descendant.html |
copy to LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector.html |
index fe4043e855a508d48b5a0600e0f6866988300282..beda5def701bc01fc20cb06ca9b76993cd4b700d 100644 |
--- a/LayoutTests/fast/dom/shadow/distributed-pseudo-element-match-descendant.html |
+++ b/LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector.html |
@@ -7,7 +7,7 @@ |
<div id="sandbox"></div> |
<script> |
var shadowStyle = document.createElement('style'); |
-shadowStyle.innerHTML = 'content::-webkit-distributed(div) { color: green; }'; |
+shadowStyle.innerHTML = 'content::-webkit-distributed(> div1 div2) { color: green; }'; |
var sandbox = document.getElementById('sandbox'); |
sandbox.appendChild( |
@@ -15,8 +15,12 @@ sandbox.appendChild( |
createShadowRoot( |
shadowStyle, |
createDOM('content')), |
- createDOM('p', {}, |
- createDOM('div', {}, |
+ createDOM('div', {}, |
+ createDOM('div1', {}, |
+ createDOM('div2', {}, |
+ document.createTextNode('normal')))), |
+ createDOM('div1', {}, |
+ createDOM('div2', {}, |
document.createTextNode('green'))))); |
</script> |
</body> |