blob: d9561eff50bf3c481c8e23085c690c77c3824a6f [file] [log] [blame]
<html>
<head>
<style>
body { overflow: hidden; }
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
</style>
<title>-webkit-nbsp-mode and linewraps</title>
</head>
<body id="root">
<div class="editing" style="position:absolute; left: 100px; -webkit-nbsp-mode: space;">
This div is absolutely positioned to the left. All the spaces in this div are replaced with non-breaking spaces, and the nbsp-mode for this div is 'space', so when calculating line breaks, the non-breaking spaces should be treated as normal spaces. If this isn't the case, then all the text for this paragraph will be rendered in two lines, and a horizontal scroll bar will appear along the bottom.
</div>
</body>
</html>