| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-not-last.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-not-last.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-not-last.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..39e13ed62b195657dcba9b6d54dea8fbc68be0a2
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-not-last.html
|
| @@ -0,0 +1,13 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +<div id="host">
|
| + <span id="distributed">This text should be green</span>
|
| +</div>
|
| +<script>
|
| + description("Accept simple selectors after ::content For Polymer 0.5 compat");
|
| +
|
| + var root = host.createShadowRoot();
|
| + root.innerHTML = '<style>[select]::content.x span { color: green }</style><content class="x" select="span"></content>';
|
| +
|
| + shouldBeEqualToString("getComputedStyle(distributed).color", "rgb(0, 128, 0)");
|
| +</script>
|
|
|