View Single Post
Old 05-09-2025, 09:46 AM   #28
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,264
Karma: 6565382
Join Date: Nov 2009
Device: many
Yes, that is expected behaviour as navigating is based in the nearest containing tag. For most text that will be the p tag that holds it.

Unfortunately when live editing html, Chrome can split text nodes and inject text nodes causing the dom to need to be re-normalized constantly. When you add to that whitespace can be compressed, offsets in text strings become an issue. So for consistency we take you to the closest destination we know will exist: the parent of the text.

This is how Preview navigates to where you click in CV, and visa versa.

Last edited by KevinH; 05-09-2025 at 09:50 AM.
KevinH is offline   Reply With Quote