servo/tests/wpt/web-platform-tests/css/css-text/line-breaking/line-breaking-atomic-003.html

22 lines
678 B
HTML

<!doctype html>
<html>
<meta charset="utf-8">
<title>CSS Text — NARROW NO-BREAK SPACE after atomic inline</title>
<meta name=assert content="There is **not** a soft wrap opportunity between an atomic inline and a following NARROW NO-BREAK SPACE">
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
<link rel=match href="reference/line-breaking-atomic-003-ref.html">
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
div {
font: 50px/1 Ahem;
width: 0;
}
span {
display: inline-block;
}
</style>
<p>Test passes if there are two identical squares below.
<div><span>AB</span>&#8239;CD</div>
<div>AB&#8239;CD</div>