| <title>This tests that simple line layout wraps lines the same way normal line layout does when multiple (text)renderers are present and there's a hyphen on the render boundary.</title> |
| <script> |
| // Force line box path. |
| if (window.internals) |
| internals.settings.setSimpleLineLayoutEnabled(false); |
| </script> |
| <style> |
| body { |
| border: 1px solid green; |
| width: 50px; |
| } |
| </style> |
| <body> |
| </body> |
| <script> |
| document.body.appendChild(document.createTextNode("foobar -abc")); |
| document.body.appendChild(document.createTextNode("defghijklmnopqrstvw")); |
| document.body.appendChild(document.createTextNode(" foobar --")); |
| document.body.appendChild(document.createTextNode(" abc")); |
| </script> |