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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/container-backgrounds-on-cell-resize.html

Issue 2851553002: Invalidate row/section for backgrounds when cell's geometry changes (Closed)
Patch Set: Fix non-spinvalidation Created 3 years, 8 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/table/container-backgrounds-on-cell-resize-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/table/container-backgrounds-on-cell-resize.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/container-backgrounds-on-cell-resize.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/container-backgrounds-on-cell-resize.html
new file mode 100644
index 0000000000000000000000000000000000000000..ac605091dbf1dd950295c73ff7cdef077902d231
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/container-backgrounds-on-cell-resize.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<style>
+ tr { height: 30px }
+</style>
+Should repaint the backgrounds of column (yellow), section (blue) and row (green) when cells resize.
+<table style="width: 300px">
+ <colgroup>
+ <col style="background: yellow">
+ </colgroup>
+ <thead style="background: blue">
+ <tr>
+ <td>A</td><td id="cell" style="width: 100px">B</td><td>C</td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr style="background: green">
+ <td>A</td><td>B</td><td>C</td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td>A</td><td>B</td><td>C</td>
+ </tr>
+ </tfoot>
+</table>
+<script src="../../../resources/run-after-layout-and-paint.js"></script>
+<script>
+runAfterLayoutAndPaint(function() {
+ cell.style.width = '200px';
+}, true);
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/table/container-backgrounds-on-cell-resize-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698