Status: PASS | Duration: 24ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/text-autospace/text-autospace-mixed-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-mixed-001-ref.html"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> #container > div { font-family: Ahem; font-size: 40px; text-autospace: normal; } </style> <div id="container"> <div>国国אבג国国</div> <div>国国<span>אב</span>ג国国</div> <div>国国مُرَبَّعْ国国</div> </div>
/css/css-text/text-autospace/text-autospace-mixed-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> #container > div { font-family: Ahem; font-size: 40px; text-autospace: no-autospace; & > span { margin-left: calc(1em / 8); margin-right: calc(1em / 8); } } </style> <div id="container"> <div>国国<span>אבג</span>国国</div> <div>国国<span>אבג</span>国国</div> <div>国国<span>مُرَبَّعْ</span>国国</div> </div>