| <!DOCTYPE html> |
| <html lang="en-us"> |
| <script> |
| if (window.internals) |
| internals.setMockHyphenation('en-us'); |
| </script> |
| <style> |
| div { |
| width: 15ch; |
| border: 2px solid blue; |
| } |
| .hyphen { |
| hyphens: auto; |
| } |
| </style> |
| <div style="text-align: justify"> |
| <div class="hyphen">This is hyphenation enabled paragraph.</div> |
| <div>This is hyphen­ation enabled paragraph.</div> |
| </div> |
| <div style="text-align: right"> |
| <div class="hyphen">This is hyphenation enabled paragraph.</div> |
| <div>This is hyphen­ation enabled paragraph.</div> |
| </div> |
| </html> |