blob: 0bc6f81eba339549a132c52bb0534cda9f6a449e [file] [log] [blame]
This test checks that intrinsic size changes of an embedded SVG cause immediate updates of the object that embeds it.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Check initial <object> size, before external resource loaded
PASS document.defaultView.getComputedStyle(object1).width is "300px"
PASS document.defaultView.getComputedStyle(object1).height is "150px"
Check initial <object> size, after external resource loaded
PASS document.defaultView.getComputedStyle(object1).width is "200px"
PASS document.defaultView.getComputedStyle(object1).height is "200px"
Check final <object> size, after resizing finished
PASS document.defaultView.getComputedStyle(object1).width is "400px"
PASS document.defaultView.getComputedStyle(object1).height is "200px"
Test passed if you see two green rectangles
PASS successfullyParsed is true
TEST COMPLETE