Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: third_party/WebKit/LayoutTests/paint/selection/text-selection-counter.html

Issue 2867083003: Counters are always generated content and cannot be selected. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/selection/text-selection-counter-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/selection/text-selection-counter-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698