Index: third_party/WebKit/LayoutTests/paint/selection/text-selection-counter.html |
diff --git a/third_party/WebKit/LayoutTests/paint/selection/text-selection-counter.html b/third_party/WebKit/LayoutTests/paint/selection/text-selection-counter.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3bf523643fcb1ea77ec5cecc703f96972e940507 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/selection/text-selection-counter.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script src="resources/selection.js"></script> |
+<style> |
+ span { color: transparent } |
+ span::after { content: counter(dummy) } |
+ span::selection { background: transparent; color: initial } |
+</style> |
+<p>You should see the word PASS two times below (no zeros).</p> |
+<div id="select"> |
+ <span>PASS</span><span>PASS</span> |
+</div> |
+<script> |
+ selectNode(select); |
+</script> |