| Index: third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-orphaned-word.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-orphaned-word.html b/third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-orphaned-word.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a14c701bc458797ed4c51b1d2733b03c8a15914c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-orphaned-word.html
|
| @@ -0,0 +1,24 @@
|
| +<!DOCTYPE html>
|
| +<script>
|
| +if (window.internals)
|
| + internals.setMockHyphenation('en-us');
|
| +</script>
|
| +<style>
|
| +div {
|
| + border: thin solid black;
|
| + font-family: 'Courier New';
|
| + -webkit-hyphens: auto;
|
| + hyphens: auto;
|
| +}
|
| +</style>
|
| +<body lang="en-us">
|
| + <p>Do not hyphenate the last word in a paragraph.</p>
|
| + <div style="width: 15ch">This is hyphenation</div>
|
| + <div style="width: 15ch">This is hyphenation
|
| + </div>
|
| +
|
| + <p>Do hyphenate single word.</p>
|
| + <div style="width: 8ch">hyphenation</div>
|
| + <div style="width: 8ch">hyphenation
|
| + </div>
|
| +</body>
|
|
|