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

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
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..09f850a90f29bec8ddc4fbb65a2b17e0692c4aac
--- /dev/null
+++ b/LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+
+<!-- <video style="position:absolute; top: 0.4375px; height: 321px; width: 560px" id="vid" controls>
+ <source src=http://techslides.com/demos/sample-videos/small.webm type=video/webm><br />
+</video> -->
leviw_travelin_and_unemployed 2014/10/14 21:49:09 Left this comment in unnecessarily.
chrishtr 2014/10/14 21:54:31 Done.
+<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>
leviw_travelin_and_unemployed 2014/10/14 21:49:09 PAPAYAWHIP!!!
+
+<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>

Powered by Google App Engine
This is Rietveld 408576698