blob: e4cddc6a4a27b240f388bb037bbaeff01534f674 [file] [log] [blame]
This tests that resize event is not dispatched as a part of updateLayout
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
iframeB.style.width = "200px"; updateLayout(iframeB)
iframeA.style.width = "200px"; updateLayout(iframeA)
iframeAA.style.width = "200px"; updateLayout(iframeAA)
PASS logs.length is 0
After 0s setTimeout
PASS logs.length is 0
After requestAnimationFrame
PASS logs.length is 3
PASS logs.join(", ") is "A, AA, B"
PASS successfullyParsed is true
TEST COMPLETE