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

Side by Side Diff: LayoutTests/fast/text-autosizing/print-autosizing.html

Issue 263563006: [FastTextAutosizer] Remove printing checks from enabled() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4
5 <meta name="viewport" content="width=800">
6 <style>
7 html { font-size: 16px; }
8 body { width: 800px; margin: 0; overflow-y: hidden; }
9 </style>
10
11 <script src="resources/autosizingTest.js"></script>
12 <script>
13 if (window.testRunner)
14 testRunner.waitUntilDone();
15
16 onload = function() {
skobes 2014/04/30 18:28:08 I think if you put the <script> at the end below t
pdr. 2014/04/30 18:49:01 Done.
17 if (window.testRunner) {
18 testRunner.setPrinting();
19 window.requestAnimationFrame(function() {
skobes 2014/04/30 18:28:08 (nit) remove unnecessary "window."
pdr. 2014/04/30 18:49:01 Done.
20 if (window.testRunner)
21 testRunner.notifyDone();
22 });
23 }
24 }
25 </script>
26 </head>
27 <body>
28
29 <div>
30 This text should not be autosized because the document is printing.<br>
31 There is enough text that we should <b>autosize</b> the text initially, but wh ile printing we should not be autosized.<br>
32 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempo r incididunt ut labore et dolore magna aliqua sed do eiusmod tempor incididunt u t labore et dolore magna aliqua.
33 </div>
34
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698