1 Tests huge image scaling when viewport is enabled. Requires DumpRenderTree.
2 To manual test, open resources/5000x5000.png in a viewport-capable browser (e.g. on Android or enable viewport emulation in DevTools).
3 Passes if the image shinks to fit the width.
5 viewport meta: <meta name="viewport" content="width=device-width, minimum-scale=0.1">
6 image style: -webkit-user-select: none; max-width: 1000px;
7 image actual width: 1000