diff --git a/test/devicepixelcontentbox-with-visualviewport-scale/dpr-zoom-test-with-visualviewport.html b/test/devicepixelcontentbox-with-visualviewport-scale/dpr-zoom-test-with-visualviewport.html index 9dd74f6..db22e99 100644 --- a/test/devicepixelcontentbox-with-visualviewport-scale/dpr-zoom-test-with-visualviewport.html +++ b/test/devicepixelcontentbox-with-visualviewport-scale/dpr-zoom-test-with-visualviewport.html @@ -8,6 +8,7 @@ html, body { margin: 0; /* remove the default margin */ height: 100%; /* make the html,body fill the page */ + font-family: monospace; } canvas { display: block; /* make the canvas act like a block */ @@ -22,6 +23,18 @@ margin: 0; background-color: rgba(0, 0, 0, 0.7); color: white; +} +label { + display: inline-flex; + align-items: center; + gap: 0.25em; +} +input { + margin: 0; +} +.pixelated { + image-rendering: pixelated; + image-rendering: crisp-edges; } @@ -33,6 +46,9 @@ +