Chromium Code Reviews

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/first-line-inline-child.html

Issue 2728383002: Make ::first-line invalidation work when added or removed. (Closed)
Patch Set: Fixed review issues. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 ::first-line { color: red }
4 .green { color: green }
5 </style>
6 <div class="green">
7 <span>This text should be green</span>
8 </div>
9 <script>
10 if (window.testRunner)
11 testRunner.waitUntilDone();
12
13 requestAnimationFrame(() =>
14 requestAnimationFrame(() => {
15 document.querySelector("span").className = "green";
16 if (window.testRunner)
17 testRunner.notifyDone();
18 }));
19 </script>
OLDNEW

Powered by Google App Engine