Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/text-autospace/text-autospace-001.html
<!DOCTYPE html> <meta charset="utf-8"> <link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <link rel="match" href="text-autospace-001-ref.html"> <style> .test { font-family: Ahem; font-size: 40px; } .no-autospace { text-autospace: no-autospace; } .normal { text-autospace: normal; } </style> <div id="container"> <div class="test normal">国国XX国</div> <div class="test normal">国。XX国</div> <div dir="rtl" class="test normal">国国XX国</div> <div dir="rtl" class="test normal">国。XX国</div> </div>
/css/css-text/text-autospace/text-autospace-001-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> .test { font-family: Ahem; font-size: 40px; } .no-autospace { text-autospace: no-autospace; } .normal { text-autospace: normal; } .spacing { margin: 5px; } .spacing-left { margin-left: 5px; } </style> <div id="container"> <div class="test no-autospace">国国<span class="spacing">XX</span>国</div> <div class="test no-autospace">国。XX<span class="spacing-left">国</span></div> <div dir="rtl" class="test no-autospace">国国<span class="spacing">XX</span>国</div> <div dir="rtl" class="test no-autospace">国。XX<span class="spacing-left">国</span></div> </div>