| Index: LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector-invalid.html
|
| diff --git a/LayoutTests/fast/dom/shadow/distributed-pseudo-element-support-selector.html b/LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector-invalid.html
|
| similarity index 51%
|
| copy from LayoutTests/fast/dom/shadow/distributed-pseudo-element-support-selector.html
|
| copy to LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector-invalid.html
|
| index 3fdbd86ef782b141cff59ba3c165ba57eb3e785d..ad9e0e81920b9c51a4eba46be5d2bc557f560d84 100644
|
| --- a/LayoutTests/fast/dom/shadow/distributed-pseudo-element-support-selector.html
|
| +++ b/LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector-invalid.html
|
| @@ -7,21 +7,22 @@
|
| <div id="sandbox"></div>
|
| <script>
|
| var shadowStyle = document.createElement('style');
|
| -shadowStyle.innerHTML = 'content::-webkit-distributed(div.hello div) { color: green; }';
|
| +shadowStyle.innerHTML =
|
| + 'content::-webkit-distributed(+ div1 div2) { color: green; }' +
|
| + 'content::-webkit-distributed(~ div1 div2) { color: green; }';
|
|
|
| var sandbox = document.getElementById('sandbox');
|
| sandbox.appendChild(
|
| - createDOM('div', {'id': 'host'},
|
| + createDOM('div', {},
|
| createShadowRoot(
|
| shadowStyle,
|
| createDOM('content')),
|
| - createDOM('div', {'class': 'hello'},
|
| - document.createTextNode('normal'),
|
| - createDOM('div', {},
|
| - document.createTextNode('green'))),
|
| createDOM('div', {},
|
| - document.createTextNode('normal'),
|
| - createDOM('div', {},
|
| + createDOM('div1', {},
|
| + createDOM('div2', {},
|
| + document.createTextNode('normal')))),
|
| + createDOM('div1', {},
|
| + createDOM('div2', {},
|
| document.createTextNode('normal')))));
|
| </script>
|
| </body>
|
|
|