Chromium Code Reviews| Index: LayoutTests/fast/css/nth-child-of-pseudo-element-assert.html |
| diff --git a/LayoutTests/fast/css/nth-child-of-pseudo-element-assert.html b/LayoutTests/fast/css/nth-child-of-pseudo-element-assert.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6e1cddede345b3ddc7b94dd816cedb28c54f5ab6 |
| --- /dev/null |
| +++ b/LayoutTests/fast/css/nth-child-of-pseudo-element-assert.html |
| @@ -0,0 +1,21 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +div::before { |
| + position: relative; |
| + overflow: scroll; |
| + display: block; |
| + width: 100px; |
| + height: 100px; |
| + content: "." |
| +} |
| + |
| +:nth-child(13)::-webkit-scrollbar { |
| + color: pink; |
| +} |
| +</style> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
| +</script> |
| +<p>This test should not trigger any ASSERTs.</p> |
| +<div></div> |