blob: 5c180c45fd08d9f94933163c148ea72b285a5025 [file] [log] [blame]
<!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>