2 Layout test for https://bugs.webkit.org/show_bug.cgi?id=43022. Checks to see if an image having a percentage height is resized when its containing iframe is vertically resized. This test only works in DumpRenderTree since it involves accessing the internal elements of an iframe.
4 Original frame height was 500
5 Original image height was 500
6 Vertically resizing the frame to be larger
7 New frame height is 600
8 New image height is 600
9 PASSED: Image size is correct
10 Vertically resizing the frame to be smaller
11 New frame height is 450
12 New image height is 450
13 PASSED: Image size is correct