Chromium Code Reviews| 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> |