| 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>
|
|
|