有没有办法获取文本节点的边界矩形?
getBoundingClientRect()方法仅在元素上定义,父元素比实际文本节点大.
javascript dom bounding-box textnode
bounding-box ×1
dom ×1
javascript ×1
textnode ×1