summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/line-breaking/line-breaking-atomic-009.html
blob: b14a27157ca1fcff4baf13df39b6e33865495d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!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>