Status: PASS | Duration: 10ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/text-autospace/text-autospace-elements-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-elements-001-ref.html"> <style> .as { text-autospace: normal; } .as-off { text-autospace: no-autospace; } </style> <div class="as">国国AA国国</div> <div class="as">AA国国AA</div> <div class="as-off"><span class="as">国国AA国国</span></div> <div class="as-off"><span class="as">AA国国AA</span></div>
/css/css-text/text-autospace/text-autospace-elements-001-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <style> :root { text-autospace: no-autospace; } span { margin: calc(1em / 8); } </style> <div>国国<span>AA</span>国国</div> <div>AA<span>国国</span>AA</div> <div>国国<span>AA</span>国国</div> <div>AA<span>国国</span>AA</div>