Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / should-not-repaint-composited-opacity.html
blobb296604c3ddc58427e5e85e89e6defb6dbc37947
1 <!-- Based on compositing/repaint/should-not-repaint-composited-opacity.html -->
2 <!DOCTYPE html>
3 <style>
4 #composited-box {
5 backface-visibility: hidden;
6 width: 100px;
7 height: 100px;
8 background: green;
9 opacity: 0.8;
11 </style>
12 <script src="resources/paint-invalidation-test.js"></script>
13 <script>
14 window.expectedPaintInvalidationObjects = [
16 function paintInvalidationTest() {
17 document.getElementById('composited-box').style.opacity = 0.5;
19 window.onload = runPaintInvalidationTest;
20 </script>
21 <div id="composited-box"></div>