| Index: third_party/WebKit/LayoutTests/paint/invalidation/first-line-inline-child.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/first-line-inline-child.html b/third_party/WebKit/LayoutTests/paint/invalidation/first-line-inline-child.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6d1a2be488c1525bba18ac0c502ea13fc4eb2ef7
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/first-line-inline-child.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| + ::first-line { color: red }
|
| + .green { color: green }
|
| +</style>
|
| +<div class="green">
|
| + <span>This text should be green</span>
|
| +</div>
|
| +<script>
|
| + if (window.testRunner)
|
| + testRunner.waitUntilDone();
|
| +
|
| + requestAnimationFrame(() =>
|
| + requestAnimationFrame(() => {
|
| + document.querySelector("span").className = "green";
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + }));
|
| +</script>
|
|
|