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

Unified Diff: LayoutTests/fast/repaint/paint-invalidation-with-opacity.html

Issue 360193002: Delete paint invalidaiton code in RenderLayerModelObject::styleWillChange. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged. Created 6 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/paint-invalidation-with-opacity-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
diff --git a/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html b/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
new file mode 100644
index 0000000000000000000000000000000000000000..afc93d301da356ab529cb9cab5ea2f6f3f6afcfc
--- /dev/null
+++ b/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<div id="target" style="width: 100px; height: 100px; background: lightblue"></div>
+<script src="../../resources/run-after-display.js"></script>
+<script>
+if (testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+
+runAfterDisplay(function() {
+ if (internals)
+ window.internals.startTrackingRepaints(document);
+
+ document.getElementById('target').style.opacity = 0.5;
+
+ if (testRunner)
+ testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS));
+
+ testRunner.notifyDone();
+});
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/paint-invalidation-with-opacity-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698