blob: eec2a25528e2651490a0c61ca31382d2a4e9dfee [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ 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>