<div id="change" style=" | |
height: 200px; | |
-webkit-writing-mode: vertical-lr; | |
font-family: HiraMinProN-W3; | |
font-size: 36px; | |
"> | |
1 <span id="target" style="-webkit-text-combine: horizontal;">123456</span> 2 | |
</div> | |
<script> | |
document.body.offsetLeft; | |
document.getElementById('change').style.color='green'; | |
document.body.offsetLeft; | |
</script> |