Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/line-breaking/line-breaking-atomic-009.html - WPT Dashboard Interop Dashboard
<!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=match href="reference/line-breaking-atomic-009-ref.html">
<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>