blob: 815c118f54e1f1d4a6f38f8c9f06f7dfba61e9b8 [file] [log] [blame]
<html>
<head>
<title>This tests that simple line layout renders letter-spacing properly.</title>
<style>
div {
margin: 10px;
}
</style>
</head>
<body>
<script>
if (window.internals)
internals.settings.setSimpleLineLayoutEnabled(false);
for (var i = -10; i < 10; ++i) {
var element = document.createElement("div");
element.innerText = "foobar";
element.style.letterSpacing = i;
document.body.appendChild(element);
}
</script>
</body>
</html>