Status: FAIL | Duration: 17ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/text-autospace/text-autospace-dynamic-001.html
<!DOCTYPE html> <meta charset="utf-8"> <link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property"> <link rel="match" href="text-autospace-no-001-ref.html"> <link rel="mismatch" href="text-autospace-no-001-mismatch-ref.html"> <style> :root { text-autospace: normal; } .no-as { text-autospace: no-autospace; } </style> <div class="test no-as">国国AA国国AA国国</div> <div class="test">国国AA国国AA国国</div> <script> document.body.offsetTop; // Force layout. for (const element of document.getElementsByClassName('test')) { element.classList.toggle('no-as'); } </script>
/css/css-text/text-autospace/text-autospace-no-001-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <style> .no-as { text-autospace: no-autospace; } .manual-spacing { margin: 0px 0.125em; } </style> <div class="no-as"><span>国国</span><span class="manual-spacing">AA</span><span>国国</span><span class="manual-spacing">AA</span><span>国国</span></div> <div>国国​AA​国国​AA​国国</div>