Chromium Code Reviews| Index: LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html |
| diff --git a/LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html b/LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1e97f15b83f03269789777810bff08a0080f7b4f |
| --- /dev/null |
| +++ b/LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html |
| @@ -0,0 +1,18 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<body> |
| +<div> |
| + <header> |
| + <h1>I should be plain</h1> |
| + </header> |
| + <header selected> |
| + <h1>I should be red w/ a gray background</h1> |
| + </header> |
| +</div> |
| + |
| +<script> |
| +var root = document.querySelector('div').createShadowRoot(); |
| +root.innerHTML = '<style>:host content::content [selected] { color: green; }</style><content></content>'; |
| +</script> |
| +</body> |
| +</html> |