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

Unified Diff: LayoutTests/fast/repaint/change-height-width.html

Issue 204843002: Reduce invalidation on children-needs-layout containers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated patch after Levi's comment + the bots failures Created 6 years, 9 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: LayoutTests/fast/repaint/change-height-width.html
diff --git a/LayoutTests/fast/repaint/change-height-width.html b/LayoutTests/fast/repaint/change-height-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..8159ed3f3ff6bb361a09cee8d9b94d3ac3d4c901
--- /dev/null
+++ b/LayoutTests/fast/repaint/change-height-width.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest()
+{
+ resize.style.height = "100px";
+ resize.style.width = "100px";
+}
+window.addEventListener("load", runRepaintTest, false);
+</script>
+<body>
+ <div>This test checks how much invalidation is generated when we change height and width.</div>
+ <div style="height: 200px; width: 200px; background-color: turquoise;" id="resize"></div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698