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

Side by Side Diff: LayoutTests/fast/loader/page-scale-resets-on-new-navigation.html

Issue 14643011: Reset page scale factor to 1.0 on navigation to a new page. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revise, add test. Created 7 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 <html>
2 <head>
3 <script>
4
5 function navigate()
6 {
7 if (window.testRunner) {
8 testRunner.dumpAsText();
9 testRunner.waitUntilDone();
10 }
11
12 if (window.internals)
13 internals.setPageScaleFactor(2, 0, 0);
14
15 setTimeout("window.location.href = 'resources/page-scale-resets-on-new-navig ation-child.html'", 0);
16 return;
17 }
18
19 </script>
20
21 </head>
22 <body style="width:800px" onpageshow="navigate()">
23 <div id="result">Fail. The navigation did not occur.</div><br/>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698