blob: 568160416cc593549cc1aaf98d2c454d1d3cac00 [file] [log] [blame]
<!-- webkit-test-runner [ InlineFormattingContextIntegrationEnabled=false ] -->
<html>
<head>
<title>This tests that simple line layout renders word-spacing properly.</title>
<body>
<script>
for (var i = -6; i < 15; ++i) {
var element = document.createElement("div");
element.innerHTML = "a b c d e f g";
element.style.wordSpacing = i;
document.body.appendChild(element);
}
for (var i = -6; i < 15; ++i) {
var element = document.createElement("div");
element.innerHTML = "a b c d e f g h j";
element.style.wordSpacing = i;
element.style.whiteSpace = "pre-wrap";
document.body.appendChild(element);
}
</script>
</body>
</html>