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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/multicol-spanner-background-color.html

Issue 2063543002: LayoutObject::paintInvalidationParent() to fix multicol spanner invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: LayoutObject::paintInvalidationParent() to fix multicol spanner invalidation Created 4 years, 6 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/fast/repaint/multicol-spanner-background-color.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/multicol-spanner-background-color.html b/third_party/WebKit/LayoutTests/fast/repaint/multicol-spanner-background-color.html
new file mode 100644
index 0000000000000000000000000000000000000000..1c43b4ea873d9f47239a183fedbe65efb9786fdc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/repaint/multicol-spanner-background-color.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+Test paint invalidation of column-span:all when background color changes.
+Passes if there is a green square.
+<div style="columns: 2">
+ <div id="spanner" style="column-span: all; width: 100px; height: 100px; background-color: red"></div>
+</div>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+runAfterLayoutAndPaint(function repaintTest() {
+ spanner.style.backgroundColor = 'green';
+}, true);
+</script>

Powered by Google App Engine
This is Rietveld 408576698