blob: 02562042316a37c09e4d6992903a8036500f3a5a [file] [log] [blame]
<style>
div {
letter-spacing: -1px;
font-height: 10px;
}
</style>
<div id=textWithLetterSpacing>Pass if text does not disappear after the range selection.</div>
<script>
document.body.offsetHeight;
var range = document.createRange();
range.setStart(textWithLetterSpacing.firstChild, 0);
range.setEnd(textWithLetterSpacing.firstChild, 5);
window.getSelection().addRange(range);
</script>