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