Status: FAIL | Duration: 49ms | Subtests: 0/1 | Open test on wpt.live | wpt.fyi
/svg/fonts/zero-font-size-adjust-no-glyphs-zero-height-font.html
<!DOCTYPE html> <title>Verify effect of font-size-adjust: 0 on a zero height no glyphs SVG Font</title> <link rel="help" href="https://drafts.csswg.org/css-fonts-5/#font-size-adjust-prop"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <style> pre { font-size-adjust: 0; font-family: CustomMonospace } </style> <svg> <font> <font-face font-family="CustomMonospace" ascent="0"/> </font> </svg> <pre id="pre">Text </pre> <script> test((t) => { assert_equals(pre.getBoundingClientRect().height, 0); }, "Verify effect of font-size-adjust: 0 on zero height no glyphs SVG Font"); </script>