summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions.html
blob: b4d3720e2378f74c90601d5ad43f5093f98e2a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<title>CSS Test: word-break: break-word and overflow-wrap interaction</title>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1296042">
<link rel="help" href="https://drafts.csswg.org/css-text/#propdef-word-break">
<link rel="help" href="https://drafts.csswg.org/css-text/#propdef-overflow-wrap">
<link rel="help" href="https://drafts.csswg.org/css-text/#valdef-overflow-wrap-anywhere">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="match" href="word-break-break-word-overflow-wrap-interactions-ref.html">
<style>
  div {
    float: left;
    width: 100px;
    height: 100px;
    border: 1px solid black;
    margin: 10px;
  }
</style>
<p>The boxes below should look the same.</p>
<div style="word-break: break-word; overflow-wrap: anywhere;">FillerFillerFillerFiller</div>
<div style="word-break: break-word; overflow-wrap: break-word;">FillerFillerFillerFiller</div>
<div style="word-break: break-word; overflow-wrap: normal;">FillerFillerFillerFiller</div>