OLD | NEW |
---|---|
(Empty) | |
1 description('Tests that querying innerHeight in an iframe returns the correct va lue even before the parent frame has had a layout'); | |
2 | |
3 var iframe = document.createElement('iframe'); | |
4 document.body.appendChild(iframe); | |
5 | |
esprehn
2013/07/16 00:49:41
Lets not add more of these script tests, can you j
| |
6 var heightBeforeLayout = iframe.contentWindow.innerHeight; | |
7 var forceLayout = iframe.offsetHeight; | |
8 var heightAfterLayout = iframe.contentWindow.innerHeight; | |
9 | |
10 shouldBe('heightBeforeLayout', 'heightAfterLayout'); | |
OLD | NEW |