Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/text-fit/grow-consistent.html
<!DOCTYPE html> <link rel="help" href="https://drafts.csswg.org/css-text-5/#text-fit-property"> <link rel="match" href="grow-consistent-ref.html"> <meta name="flags" content="ahem"> <link rel="stylesheet" href="/fonts/ahem.css"> <style> .target { white-space: pre; width: 120px; margin-bottom: 10px; font: 10px/normal Ahem; } .scale { text-fit: grow consistent; border: 2px solid blue; } </style> <body> <div class="target scale">ABCDEF GHI</div> </body>
/css/css-text/text-fit/grow-consistent-ref.html
<!DOCTYPE html> <link rel="stylesheet" href="/fonts/ahem.css"> <style> .target { white-space: pre; width: 120px; margin-bottom: 10px; font: 10px/normal Ahem; } .scale { font-size: 20px; border: 2px solid blue; } </style> <body> <div class="target scale">ABCDEF GHI</div> </body>