chromium/third_party/blink/web_tests/wpt_internal/css/css-fonts/variable-opsz-zoom-ref.html

<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<style>
    @font-face {
    font-family: variabletest_box;
    src: url(resources/variabletest_box.ttf);
    }

    body {
    font-family: variabletest_box, sans-serif;
    font-optical-sizing: none;
    }

    .columns {
    display: flex;
    gap: 20px;
    }
</style>
<div class="columns">
<div>
<div style="font-size:   6px; font-variation-settings: 'opsz'    6;">B</div>
<div style="font-size:  12px; font-variation-settings: 'opsz'   12;">B</div>
<div style="font-size:  24px; font-variation-settings: 'opsz'   24;">B</div>
</div>
<div>
<div style="font-size:  48px; font-variation-settings: 'opsz'   48;">B</div>
<div style="font-size:  64px; font-variation-settings: 'opsz'   64;">B</div>
<div style="font-size: 128px; font-variation-settings: 'opsz'  128;">B</div>
</div>
<div>
<div style="font-size:  24px; font-variation-settings: 'opsz'  128;">B</div>
<div style="font-size:  48px; font-variation-settings: 'opsz'   12;">B</div>
</div>
</div>
<script>
  matchMedia('(resolution: 2dppx)').addEventListener("change", zoomReached, { once: true })
    if (window.testRunner)
        testRunner.setPageZoomFactor(2);

  function zoomReached() {
      document.fonts.ready.then(
          () => { document.documentElement.classList.remove("reftest-wait"); });
  }
</script>
</html>