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

Side by Side Diff: chrome/test/data/printing/selection_iframe.html

Issue 2944873002: Printing: Disable subframes when printing a selection. (Closed)
Patch Set: Nits. Created 3 years, 6 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/printing/renderer/print_web_view_helper.cc » ('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 <html>
2
3 <body>
4 <p>
5 A page with a selection containing an iframe. The browser should be
6 able to print it.
7 </p>
8
9 <div id="selection-start"></div>
10 An iframe here: <iframe src="/simple.html"></iframe>
11 <div id="selection-end"></div>
12
13 <script>
14 var range = document.createRange();
15 range.setStart(document.getElementById("selection-start"), 0);
16 range.setEnd(document.getElementById("selection-end"), 0)
17 window.getSelection().addRange(range);
18 </script>
19 </body>
20
21 </html>
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/printing/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698