You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand what Normalizing does, but I don't quite understand how its implemented here and how to test this.
I see you can normalize on individual elements, but I gather if you normalize from the root (doc.documentElement.normalize()) this should recursively go through all elements/attributes and normalize.
Is this the case? Or am I miss-understanding something.
I've done some basic testing and even manually wrote something to recursively loop through elements and manually ran normalize() on everything, but I don't see a change.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I understand what Normalizing does, but I don't quite understand how its implemented here and how to test this.
I see you can normalize on individual elements, but I gather if you normalize from the root (doc.documentElement.normalize()) this should recursively go through all elements/attributes and normalize.
Is this the case? Or am I miss-understanding something.
I've done some basic testing and even manually wrote something to recursively loop through elements and manually ran normalize() on everything, but I don't see a change.
Beta Was this translation helpful? Give feedback.
All reactions