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

Side by Side Diff: LayoutTests/fast/repaint/repaint-in-iframe.html

Issue 474373002: Test that we repaint contents in iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/repaint-in-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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/run-after-display.js"></script>
5 <script src="resources/text-based-repaint.js"></script>
6 <script>
7 window.onload = function() {
8 runRepaintTest();
9 };
10
11 function repaintTest() {
12 document.getElementsByTagName('iframe')[0]
13 .contentDocument
14 .getElementsByTagName('div')[0]
15 .style
16 .backgroundColor = 'green';
17 }
18 </script>
19 </head>
20 <div style="height: 400px"></div>
21 <iframe srcdoc="<div style='height: 50px; background-color: red;'></div>"></ifra me>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/repaint-in-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698