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