<!-- webkit-test-runner [ InlineFormattingContextIntegrationEnabled=false ] --> | |
<html> | |
<head> | |
<title>This tests that simple line layout renders letter-spacing properly.</title> | |
<style> | |
div { | |
margin: 10px; | |
} | |
</style> | |
</head> | |
<body> | |
<script> | |
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> |