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

Side by Side Diff: chrome/test/data/save_page/style.htm

Issue 2538953002: Remove hidden elements from MHTML (Closed)
Patch Set: Fix trybots Created 3 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
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" type="text/css" href="style.css"> 4 <link rel="stylesheet" type="text/css" href="style.css">
5 <style> 5 <style>
6 #iframeA { visibility: hidden; } 6 #iframeA { visibility: hidden; }
7 </style> 7 </style>
8 </head> 8 </head>
9 <body> 9 <body>
10 Content verification marker: 10 Content verification marker:
11 style.htm: af84c3ca-0fc6-4b0d-bf7a-5ac18a4dab62 11 style.htm: af84c3ca-0fc6-4b0d-bf7a-5ac18a4dab62
12 <br><br> 12 <br><br>
13 13
14 <!-- Hidden but affecting layout -->
14 <iframe 15 <iframe
15 id="iframeA" 16 id="iframeA"
16 srcdoc="err_hidden_frameA"> 17 srcdoc="err_hidden_frameA">
17 </iframe> 18 </iframe>
18 <br><br> 19 <br><br>
19 20
20 <iframe 21 <iframe
21 class="iframeB" 22 class="iframeB"
22 srcdoc="err_hidden_frameB"> 23 srcdoc="err_hidden_frameB">
23 </iframe> 24 </iframe>
24 <br><br> 25 <br><br>
25 26
27 <!-- Hidden but affecting layout -->
26 <iframe 28 <iframe
27 id="iframeC" 29 id="iframeC"
28 srcdoc="err_hidden_frameC" 30 srcdoc="err_hidden_frameC"
29 style="visibility: hidden"> 31 style="visibility: hidden">
30 </iframe> 32 </iframe>
31 <br><br> 33 <br><br>
32 34
35 <!-- Hidden and does not affect layout -->
33 <iframe 36 <iframe
34 id="iframeD" 37 id="iframeD"
35 srcdoc="err_hidden_frameD" 38 srcdoc="err_hidden_frameD"
36 hidden="true"> 39 hidden="true">
37 </iframe> 40 </iframe>
38 <br><br> 41 <br><br>
39 42
43 <!-- Hidden and does not affect layout -->
44 <iframe
45 id="iframeE"
46 srcdoc="err_hidden_frameE"
47 style="display: none">
48 </iframe>
49 <br><br>
50
40 <iframe 51 <iframe
41 id="iframeE" 52 id="iframeF"
42 srcdoc="frameE: c9539ccd-47b0-47cf-a03b-734614865872"> 53 srcdoc="frameF: c9539ccd-47b0-47cf-a03b-734614865872">
43 </iframe> 54 </iframe>
44 <br><br> 55 <br><br>
45 </body> 56 </body>
46 </html> 57 </html>
OLDNEW
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | third_party/WebKit/Source/core/frame/FrameSerializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698