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

Side by Side Diff: LayoutTests/fast/loader/resources/page-scale-resets-on-new-navigation-child.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 function finishTest() {
5 var pageScale = 2
6 if (window.internals) {
7 pageScale = internals.pageScaleFactor();
8 }
9 if (pageScale == 1) {
10 var result = document.getElementById("result");
11 result.innerHTML = "Success! The page scale factor was reset."
12 }
13 if (window.testRunner) {
14 testRunner.notifyDone();
15 }
16 }
17 </script>
18 </head>
19 <body style="width:800px" onpageshow="finishTest();">
20 <div id="result">Fail. The page scale factor was not reset.</div><br/>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698