| Index: third_party/WebKit/LayoutTests/fast/text/hyphens/midword-break-priority.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/text/hyphens/midword-break-priority.html b/third_party/WebKit/LayoutTests/fast/text/hyphens/midword-break-priority.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dbcc969c14fa75619d0b6a29fc40bab0bc8822d5
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/text/hyphens/midword-break-priority.html
|
| @@ -0,0 +1,56 @@
|
| +<!DOCTYPE html>
|
| +<script>
|
| +if (window.internals)
|
| + internals.setMockHyphenation('en-us');
|
| +</script>
|
| +<style>
|
| +dt {
|
| + float: left;
|
| + width: 19ch;
|
| +}
|
| +dd {
|
| + margin-left: 20ch;
|
| +}
|
| +div {
|
| + border: thick solid blue;
|
| + width: 8ch;
|
| + font-family: 'Courier New';
|
| +}
|
| +.ahem {
|
| + font-family: ahem;
|
| +}
|
| +.hyphens {
|
| + hyphens: auto;
|
| + -webkit-hyphens: auto;
|
| + -moz-hyphens: auto;
|
| + -ms-hyphens: auto;
|
| +}
|
| +.break-word {
|
| + word-wrap: break-word;
|
| +}
|
| +.break-all {
|
| + word-break: break-all;
|
| +}
|
| +</style>
|
| +<body lang="en-us">
|
| +<dl>
|
| + <dt>hyphens
|
| + <dd><div class="hyphens">hyphenation is</div>
|
| + <dd><div class="hyphens">hyphenation</div>
|
| + <dt>hyphens break-word
|
| + <dd><div class="hyphens break-word">hyphenation is</div>
|
| + <dd><div class="hyphens break-word">hyphenation</div>
|
| + <dt>hyphens break-all
|
| + <dd><div class="hyphens break-all">hyphenation is</div>
|
| + <dd><div class="hyphens break-all">hyphenation</div>
|
| + <dt>hyphens break-all break-word
|
| + <dd><div class="hyphens break-all break-word">hyphenation is</div>
|
| + <dd><div class="hyphens break-all break-word">hyphenation</div>
|
| + <dt>break-word
|
| + <dd><div class="ahem break-word">XXXXXXXX)</div>
|
| + <dt>break-all
|
| + <dd><div class="ahem break-all">XXXXXXXX)</div>
|
| + <dt>break-all break-word
|
| + <dd><div class="ahem break-all break-word">XXXXXXXX)</div>
|
| +</dl>
|
| +</body>
|
|
|