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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-break-inside-on-thead-only.html

Issue 2366193002: Fix paint invalidation rects for repeating paginated table headers. (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-break-inside-on-thead-only.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-break-inside-on-thead-only.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-break-inside-on-thead-only.html
index 534858a7f90fbafb8b8ebe7d53b3abb277a41a07..492f8ac239800c18494524b46642c0bd22f25d7e 100644
--- a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-break-inside-on-thead-only.html
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-break-inside-on-thead-only.html
@@ -1,4 +1,5 @@
<!DOCTYPE html>
+<script src="../fast/repaint/resources/text-based-repaint.js"></script>
<style>
table {
border-collapse: collapse;
@@ -16,7 +17,7 @@ thead {
<table>
<thead>
<tr>
- <th>Col 1</th>
+ <th id="target">Col 1</th>
<th>Col 2</th>
</tr>
</thead>
@@ -47,4 +48,10 @@ thead {
</tbody>
</table>
</div>
-
+<script>
+onload = runRepaintAndPixelTest;
+function repaintTest()
+{
+ target.style.color = 'red';
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698