Test viewport resize and resolve