OLD | NEW |
1 <div style="outline: thin dashed lightblue; -webkit-hyphens: auto;"> | 1 <div style="outline: thin dashed lightblue;"> |
2 I <span id="could-not">couldn’t</span> tell if she truly advocated ant
idisestablishmentarianism. | 2 I <span id="could-not">couldn’t</span> tell if she tru­ly ad­v
o­cat­ed anti­dis­est­ab­lish­ment­arian­ism
. |
3 </div> | 3 </div> |
4 <script> | 4 <script> |
5 var couldNot = document.getElementById("could-not"); | 5 var couldNot = document.getElementById("could-not"); |
6 var width = couldNot.getBoundingClientRect().width; | 6 var width = couldNot.getBoundingClientRect().width; |
7 couldNot.parentElement.style.width = Math.ceil(width); | 7 couldNot.parentElement.style.width = Math.ceil(width); |
8 </script> | 8 </script> |
OLD | NEW |