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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/viewport-gradient-background-html-resize.html

Issue 2699463004: Fix gradient background invalidation when HTML size changes (Closed)
Patch Set: - Created 3 years, 10 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/paint/invalidation/viewport-gradient-background-html-resize.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/viewport-gradient-background-html-resize.html b/third_party/WebKit/LayoutTests/paint/invalidation/viewport-gradient-background-html-resize.html
new file mode 100644
index 0000000000000000000000000000000000000000..d24cf7ed97f8398f92240cda8e1ac3e89315af17
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/viewport-gradient-background-html-resize.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+body {
+ margin: 0;
+ background: linear-gradient(to bottom, blue, cyan);
+}
+</style>
+<div id="div" style="height: 50px"></div>
+</style>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ div.style.height = '200px';
+}
+onload = runRepaintAndPixelTest;
+</script>

Powered by Google App Engine
This is Rietveld 408576698