| <!DOCTYPE html> <!-- webkit-test-runner [ internal:LayoutFormattingContextIntegrationEnabled=false ] --> |
| <html> |
| <head> |
| <title>This tests that leading whitespace followed by soft/hard linebreaks.</title> |
| <style> |
| div { |
| width: 100px; |
| font-size: 13px; |
| } |
| </style> |
| </head> |
| <body> |
| <div>foobarfoobar foobi <br>foobar</div> |
| <div>foobarfoobar foobi |
| <br>foobar</div> |
| <div>foobarfoobar foobi |
| <br>foobar</div> |
| </body> |
| |
| <div style="white-space: pre"> |
| <div>foobarfoobar foobi <br>foobar</div> |
| <div>foobarfoobar foobi |
| <br>foobar</div> |
| <div>foobarfoobar foobi |
| <br>foobar</div> |
| </div> |
| <div style="white-space: pre-wrap"> |
| <div>foobarfoobar foobi <br>foobar</div> |
| <div>foobarfoobar foobi |
| <br>foobar</div> |
| <div>foobarfoobar foobi |
| <br>foobar</div> |
| </div> |
| <div style="white-space: pre-line"> |
| <div>foobarfoobar foobi <br>foobar</div> |
| <div>foobarfoobar foobi |
| <br>foobar</div> |
| <div>foobarfoobar foobi |
| <br>foobar</div> |
| </div> |
| </body> |
| </html> |