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

Side by Side Diff: LayoutTests/fast/frames/script-tests/frame-height-before-parent-layout.js

Issue 19272007: Update parent layout when child frame requests innerHeight/innerWidth. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 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');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698