Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / invalidate-paint-for-fixed-pos-inside-iframe.html
blob48d0b93baa934ca59af536da517970781f6a7c9c
1 <!-- Based on fast/repaint/invalidate-paint-for-fixed-pos-inside-iframe.html -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <script src="resources/paint-invalidation-test.js"></script>
6 <script>
7 window.onload = function() {
8 runPaintInvalidationTest();
9 };
11 window.expectedPaintInvalidationObjects = [
12 "LayoutBlockFlow (positioned) DIV",
14 function paintInvalidationTest() {
15 document.getElementsByTagName('iframe')[0]
16 .contentDocument
17 .getElementsByTagName('div')[0]
18 .style
19 .backgroundColor = 'green';
21 </script>
22 </head>
23 <div style="height: 400px"></div>
24 <iframe srcdoc="<div style='position: fixed; height: 50px; width: 50px; background-color: red;'></div>"></iframe>