| <!DOCTYPE html> |
| <!-- |
| | When the "text-overflow" property is set to "ellipsis" an ellipsis |
| | character is rendered to represent clipped inline content. |
| | When white-space is not set to nowrap, text can overflow when it is |
| | prevented from wrapping, causing multiple lines to render an |
| | ellipsis. |
| | https://www.w3.org/TR/css3-ui/#propdef-text-overflow |
| --> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <style> |
| body { |
| margin: 0px; |
| font-family: Roboto; |
| font-size: 30px; |
| } |
| div { |
| width: 80px; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| border: 1px solid #000000; |
| } |
| </style> |
| </head> |
| <body> |
| <div dir="ltr">overall over overall overall</div> |
| <div dir="rtl">overall over overall overall</div> |
| </body> |
| </html> |