5 testRunner
.dumpAsText();
8 window
.internals
.setPageScaleFactor(1.5);
10 document
.body
.innerHTML
=
11 "This test checks that page scale does not affect a plugin object's height when it depends on the window height."
12 + " The test scales the page and is considered to pass if the embed object occupies the full height of the window."
16 + "layer at (0,0) size 800x600 LayoutEmbeddedObject {EMBED} at (0,0) size 800x600<br>"
18 + internals
.elementLayoutTreeAsText(document
.getElementById('box'));
26 <body style=
"margin: 0px; overflow: hidden" onload=
"runTest()">
27 <embed id=
"box" width=
"100%" height=
"100%" name=
"plugin" src=
"fileDoesNotExist.pdf" type=
"application/pdf"></embed>