Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / compositing-reason-removed.html
blobc3cd91ace0cb27048450e2943402054035dffa50
1 <!-- Based on compositing/layer-creation/compositing-reason-removed.html -->
2 <!DOCTYPE html>
3 <style>
4 #square {
5 background-color: blue;
6 width: 30px;
7 height: 30px;
8 position: relative;
9 -webkit-backface-visibility: hidden;
11 </style>
13 <script src="resources/paint-invalidation-test.js"></script>
14 <script>
15 window.expectedPaintInvalidationObjects = [
17 function paintInvalidationTest() {
18 // Remove the div's only compositing reason. This should trigger a repaint.
19 document.getElementById("square").style.webkitBackfaceVisibility = "visible";
21 runPaintInvalidationTest();
22 </script>
24 <div id="square"></div>