Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / invalidate-when-receiving-paint-layer.html
blobd68bbb456d391728e8342de925423c6786b87e9a
1 <!doctype HTML>
2 <div style="will-change: transform; position: fixed"></div>
3 <div style="position: relative; border: 1px solid black;">
4 <div id="target" style="opacity: 1; height: 100px; width: 200px;">
5 This text should be very light
6 </div>
7 </div>
8 <script src="../../resources/run-after-layout-and-paint.js"></script>
9 <script>
10 if (window.testRunner)
11 window.testRunner.waitUntilDone();
12 onload = function() {
13 runAfterLayoutAndPaint(function() {
14 target.style.opacity = 0.2;
15 testRunner.notifyDone();
16 });
18 </script>