blob: 9bd0e6eecd01998e49d840b24203e3a19c352feb [file] [log] [blame]
<style>
body {
margin-right: 100%;
}
.normal {
padding-left: 1px;
white-space: normal;
word-wrap: break-word;
}
.pre {
white-space: pre;
}
</style>
<div class="pre"><span class="normal">
This test passes if it does not CRASH.</span></div>
<script>
// Tests a case where an inline element that sets white-space:normal nested
// in a block that sets white-space:pre works correctly when there is a
// line break at the start of the inline element.
if (window.testRunner)
testRunner.dumpAsText();
</script>