21 lines
623 B
HTML
21 lines
623 B
HTML
<!doctype html>
|
|
<html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Text — atomic inline and punctuation</title>
|
|
<meta name=assert content="There's a soft wrap opportunity between an atomic inline following punctuation">
|
|
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
|
|
<link rel=match href="reference/line-breaking-atomic-009-ref.html">
|
|
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
|
|
<style>
|
|
div {
|
|
font-size: 4em;
|
|
width: 0;
|
|
}
|
|
span {
|
|
display: inline-block;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if there the “:” is under the “A” in the text below.
|
|
|
|
<div><span>A</span>:</div>
|