blob: 587847b75cd6659b14f808fb05e8cacaa457ca3b [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: turn on word-boundary-expansion on wbr and inlines</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion">
<link rel="match" href="reference/word-boundary-002-ref.html">
<meta name="assert" content="word-boundary-expansion applies to inlines, including wbr">
<style>
div {
font-size: 2em;
}
wbr, span {
word-boundary-expansion: space;
}
</style>
<p>Test passes if the two lines below are identical.
<div id=test>a<wbr>b<span>&#x200B;c</span></div>
<div id=ref>a b c</div>