Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / layer-creation / compositing-reason-removed.html
blobc1e5717f025b7c53c0153f0f663bd4b1e1793973
1 <!DOCTYPE html>
2 <style>
3 #square {
4 background-color: blue;
5 width: 30px;
6 height: 30px;
7 position: relative;
8 -webkit-backface-visibility: hidden;
11 #testResults {
12 display: none;
14 </style>
16 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
17 <script>
18 function repaintTest() {
19 // Remove the div's only compositing reason. This should trigger a repaint.
20 document.getElementById("square").style.webkitBackfaceVisibility = "visible";
22 runRepaintTest();
23 </script>
25 <div id="square"></div>