Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<html>
<meta charset="utf-8">
<title>CSS Text — NON-BREAKING HYPHEN after atomic inline</title>
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a preceeding NON-BREAKING HYPHEN">
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
div {
font: 100px/1 Ahem;
color: transparent;
width: 100px;
background: red;
}
span {
display: inline-block;
}
a {
color: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.
<div><a>A</a>&#x2011;<span>B</span></div>