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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/selection/selection-and-text-repaint.html

Issue 2727843004: needsPaintInvalidation() should not return true for selection. (Closed)
Patch Set: Renaming. Created 3 years, 10 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/invalidation/selection/selection-and-text-repaint-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/invalidation/selection/selection-and-text-repaint.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/selection/selection-and-text-repaint.html b/third_party/WebKit/LayoutTests/paint/invalidation/selection/selection-and-text-repaint.html
new file mode 100644
index 0000000000000000000000000000000000000000..c4bdc0dcc3b4fc40b7add29d1745e77975d5e443
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/selection/selection-and-text-repaint.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+ ::selection { color: red }
+ .green { color: green }
+</style>
+<p id="t1">This text should be green.</p>
+<script>
+ if (window.testRunner)
+ testRunner.waitUntilDone();
+
+ requestAnimationFrame(() =>
+ requestAnimationFrame(() => {
+ t1.className = "green";
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }));
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/selection/selection-and-text-repaint-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698