Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: LayoutTests/fast/repaint/invalidate-paint-for-fixed-pos-inside-iframe.html

Issue 482063005: Allow paint invalidation containers to cross frame boundaries. (re-land #2) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/invalidate-paint-for-fixed-pos-inside-iframe-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/run-after-display.js"></script> 4 <script src="../../resources/run-after-display.js"></script>
5 <script src="resources/text-based-repaint.js"></script> 5 <script src="resources/text-based-repaint.js"></script>
6 <script> 6 <script>
7 window.onload = function() { 7 window.onload = function() {
8 runRepaintTest(); 8 runRepaintTest();
9 }; 9 };
10 10
11 function repaintTest() { 11 function repaintTest() {
12 document.getElementsByTagName('iframe')[0] 12 document.getElementsByTagName('iframe')[0]
13 .contentDocument 13 .contentDocument
14 .getElementsByTagName('div')[0] 14 .getElementsByTagName('div')[0]
15 .style 15 .style
16 .backgroundColor = 'green'; 16 .backgroundColor = 'green';
17 } 17 }
18 </script> 18 </script>
19 </head> 19 </head>
20 <div style="height: 400px"></div> 20 <div style="height: 400px"></div>
21 <iframe srcdoc="<div style='height: 50px; background-color: red;'></div>"></ifra me> 21 <iframe srcdoc="<div style='position: fixed; height: 50px; width: 50px; backgrou nd-color: red;'></div>"></iframe>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/invalidate-paint-for-fixed-pos-inside-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698