vendredi 28 mai 2021

In what cases do browsers create multiple text nodes?

According to MDN,

Over time, more Text nodes may be created as the document's content changes

I'm running into a rare bug in a project that I think is triggered by multiple text nodes being created in a single element when I only expect there to be one, but I can't reproduce it. Is there any way I can trigger this browser behavior, particularly in iOS Safari?




Aucun commentaire:

Enregistrer un commentaire