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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/repaint-in-iframe.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/text-based-repaint.js"></script> 4 <script src="resources/text-based-repaint.js"></script>
5 <script> 5 <script>
6 window.onload = function() { 6 window.onload = function() {
7 runRepaintAndPixelTest(); 7 runRepaintAndPixelTest();
8 }; 8 };
9 9
10 function repaintTest() { 10 function repaintTest() {
11 document.getElementsByTagName('iframe')[0] 11 document.getElementsByTagName('iframe')[0]
12 .contentDocument 12 .contentDocument
13 .getElementsByTagName('div')[0] 13 .getElementsByTagName('div')[0]
14 .style 14 .style
15 .backgroundColor = 'green'; 15 .backgroundColor = 'green';
16 } 16 }
17 </script> 17 </script>
18 </head> 18 </head>
19 <div style="height: 400px"></div> 19 <div style="height: 400px"></div>
20 <iframe srcdoc="<div style='height: 50px; width: 50px; background-color: red;'>< /div>"></iframe> 20 <iframe srcdoc="<div style='height: 50px; width: 50px; background-color: red;'>< /div>"></iframe>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698