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

Side by Side Diff: third_party/WebKit/Source/web/tests/data/pageserializer/frames/blank_frames.html

Issue 1541463002: Rename [Web]PageSerializer[Test|Client|Impl] to ...FrameSerializer... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-deduplication-of-resources
Patch Set: Rebasing... Created 4 years, 11 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
(Empty)
1 <!-- This page is used to test that blank frames with dynamic contents are
2 correctly serialized by the PageSerializer.
3 -->
4 <html>
5 <script>
6 function onload() {
7 var frame = document.createElement("iframe");
8 var div = document.getElementById("myDiv1");
9 div.appendChild(frame);
10
11 frame.contentDocument.body.innerHTML +=
12 "Some text<br>An image <img src='blue_background.png'.><br><b>Some more te xt</b>"
13
14 frame = document.createElement("iframe");
15 div = document.getElementById("myDiv2");
16 div.appendChild(frame);
17
18 frame.contentDocument.body.innerHTML +=
19 "Some text<br>An image <img src='red_background.png'.><br><b>Some more tex t</b>"
20
21 frame = document.createElement("iframe");
22 div = document.getElementById("myDiv3");
23 div.appendChild(frame);
24
25 frame.contentDocument.body.innerHTML +=
26 "Some text<br>An image <img src='orange_background.png'.><br><b>Some more text</b>"
27
28 }
29 </script>
30 <body onload="onload()">
31 This page creates empty iframes and adds content to them dynamically.<br><br>
32 <div id="myDiv1"></div>
33 <div id="myDiv2"></div>
34 <div id="myDiv3"></div>
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698