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

Unified Diff: LayoutTests/fast/repaint/add-transform-repaint-descendants.html

Issue 1164713010: Invalidate non-composited subtree on needsPaintInvalidationLayer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations Created 5 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: LayoutTests/fast/repaint/add-transform-repaint-descendants.html
diff --git a/LayoutTests/fast/repaint/add-transform-repaint-descendants.html b/LayoutTests/fast/repaint/add-transform-repaint-descendants.html
new file mode 100644
index 0000000000000000000000000000000000000000..69e94c13353747c351c3fd806eca444a2c5f39d7
--- /dev/null
+++ b/LayoutTests/fast/repaint/add-transform-repaint-descendants.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+runAfterLayutAndPaint(function() {
+ document.getElementById('target').style.transform = 'translate(0, 0)';
+}, true);
+</script>
+<style>
+body { margin : 0 }
+div { width: 100px; height: 100px; }
+</style>
+Tests invalidation and painting of descendants of an element adding transform.
+<div style="position: absolute; top: 300px; background-color: red"></div>
+<div id="target" style="position: absolute; top: 100px; backgorund-color: red">
+ <div id="1" style="background-color: green"></div>
+ <div id="2" style="position: relative; top: 100px; background-color: green"></div>
+</div>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/add-transform-repaint-descendants-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698