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

Unified Diff: LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer.html

Issue 659493005: Don't add subpixel accumulations for squashed layers when invalidating them. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed. Created 6 years, 2 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 | « no previous file | LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer.html
diff --git a/LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer.html b/LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer.html
new file mode 100644
index 0000000000000000000000000000000000000000..a643f94007967990e78a90dcfa9fb564ddf60f45
--- /dev/null
+++ b/LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<div style="position: absolute; width: 200px; height: 200px; background: lightgray; will-change: transform"></div>
+
+<div style="position: absolute; width: 200px; height: 200px; top: 50px; left: 50px; background: lightblue"></div>
+<div id="target" style="position: absolute; width: 200px; height: 200px; top: 100.45px; left: 100.45px; background: papayawhip"></div>
+
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script>
+if (window.internals)
+ internals.settings.setLayerSquashingEnabled(true);
+
+function repaintTest() {
+ target.style.backgroundColor = 'red';
+}
+runRepaintTest();
+</script>
« no previous file with comments | « no previous file | LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698