summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/hyphens/hyphens-none-shy-on-2nd-line-001.html
blob: 3efaa54d4f4501d47ed4c4ef5ab07dfd2b6f4241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<title>CSS Text: `hyphens: none` disables soft hyphens on 2nd and later lines</title>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#valdef-hyphens-none">
<link rel="match" href="reference/hyphens-none-shy-on-2nd-line-001-ref.html">
<style>
.target {
  hyphens: none;
  width: 10ch;
}
</style>
<div class="target">
  12345678
  Deoxy&shy;ribo&shy;nucleic
  Deoxy&shy;ribo&shy;nucleic
  12345678
</div>