14 lines
494 B
Plaintext
14 lines
494 B
Plaintext
This tests that innerWidth/innerHeight on an frame window returns the size of the frame itself in CSS pixels, regardless of page scale.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS frame.contentWindow.innerWidth is non-zero.
|
|
PASS frame.contentWindow.innerHeight is non-zero.
|
|
PASS frame.contentWindow.innerWidth is originalWidth
|
|
PASS frame.contentWindow.innerHeight is originalHeight - scrollbarWidth
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|