blob: 58832c3e08be54a3c0957cb09c44af554f718cec [file] [log] [blame]
<!DOCTYPE html>
<style>
div {
font-size: 200px;
}
</style>
<script>
onload = () => {
const span = document.querySelector('div span');
const selection = window.getSelection();
const range = document.createRange();
range.selectNodeContents(span);
selection.removeAllRanges();
selection.addRange(range);
}
</script>
<div><span>&#x628;-&#x0628;&#x0651;</span>-&#x628;</div>