OLD | NEW |
1 Tests huge image scaling when viewport is enabled. Requires DumpRenderTree. | 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). | 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. | 3 Passes if the image shinks to fit the width. |
4 | 4 |
5 viewport meta: <meta name="viewport" content="width=device-width, minimum-scale=
0.1"> | 5 viewport meta: <meta name="viewport" content="width=device-width, minimum-scale=
0.1"> |
6 image style: -webkit-user-select: none; max-width: 1000px; | 6 image style: -webkit-user-select: none; cursor: zoom-in; |
7 image actual width: 1000 | 7 image actual width: 100 |
OLD | NEW |