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

22 lines
680 B
HTML

<!doctype html>
<html>
<meta charset="utf-8">
<title>CSS Text — NARROW NO-BREAK SPACE before atomic inline</title>
<meta name=assert content="There is **not** a soft wrap opportunity between an atomic inline and a preceeding 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>AB&#8239;<span>CD</span></div>
<div>AB&#8239;CD</div>