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

Side by Side Diff: LayoutTests/plugins/page-scale-does-not-affect-plugin-height.html

Issue 462243002: Make logical height calculations on RenderView use unscaled FrameRect (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test Created 6 years, 4 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 | « no previous file | LayoutTests/plugins/page-scale-does-not-affect-plugin-height-expected.txt » ('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 <title>
Julien - ping for review 2014/08/16 00:54:16 DOCTYPE PLEASE!!
bokan 2014/08/18 14:27:33 Done.
2 This test checks that page scale does not affect a plugin object's height wh en it depends on the window height
Julien - ping for review 2014/08/16 00:54:16 Let's include an expected result (dumped into the
bokan 2014/08/18 14:27:33 Done.
3 </title>
Julien - ping for review 2014/08/16 00:54:16 I don't like using title as it doesn't dump into t
bokan 2014/08/18 14:27:32 Done.
4 <script>
5 function runTest() {
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 if (window.eventSender)
10 window.eventSender.setPageScaleFactor(1.5, 0, 0);
11
12 document.body.innerHTML = internals.elementRenderTreeAsText(document.getElem entById('box'));
Julien - ping for review 2014/08/16 00:54:17 I would keep the description about in the output.
bokan 2014/08/18 14:27:33 Done.
13 }
14 </script>
15 <body marginwidth="0" marginheight="0" onload="runTest()">
Julien - ping for review 2014/08/16 00:54:16 I just learned about these 2 attributes. Nit: I w
bokan 2014/08/18 14:27:33 Done.
16 <embed id="box" width="100%" height="100%" name="plugin" src="fileDoesNotExist .pdf" type="application/pdf"></embed>
17 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/plugins/page-scale-does-not-affect-plugin-height-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698