| Index: LayoutTests/fast/dom/shadow/content-pseudo-element-ignore-sibling.html
|
| diff --git a/LayoutTests/fast/dom/shadow/content-pseudo-element-ignore-sibling.html b/LayoutTests/fast/dom/shadow/content-pseudo-element-ignore-sibling.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8efa8a9cc499b456add32ef6b57b2aae6b629a6f
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/shadow/content-pseudo-element-ignore-sibling.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<script src="resources/shadow-dom.js"></script>
|
| +<!-- adapted from http://jsbin.com/ganocegu/4/edit, reported in crbug.com/355674 -->
|
| +<div id="sandbox"></div>
|
| +<script>
|
| +var shadowStyle = document.createElement('style');
|
| +shadowStyle.innerHTML = '.special::content > * { color: green; }';
|
| +
|
| +var sandbox = document.getElementById('sandbox');
|
| +sandbox.appendChild(
|
| + createDOM('div', {'id': 'host'},
|
| + createShadowRoot(
|
| + createDOM('content', {'class': 'special'})),
|
| + createShadowRoot(
|
| + shadowStyle,
|
| + createDOM('shadow')),
|
| + createDOM('div', {},
|
| + document.createTextNode('should not be green'))));
|
| +</script>
|
|
|