[behavior] Improve Viewport to avoid iframe limit

Use sub test for Viewport checking because the viewport attribute not work in iframe.

Unit test platform: IVI
IVI test result: FAIL

1. The Viewport is supported, but device-height and device-width is not the device height and width, the Viewport cannot be full screen
2. Cannot test scale on IVI device.