-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should the sanitizer normalize #203
Comments
Ranges apparently don't normalize, or at least spec: https://dom.spec.whatwg.org/#concept-range-insert impl:
|
I just can't really think of any pros & cons. In case of On the other hand, doing a full normalization pass after or during sanitization is a bit of extra work that just not be necessary. I don't have strong feelings either way. From what I can tell, there is no other API really normalizing. Given this, I can't think of a reason why this one should. |
@smaug---- @rniwa thoughts? |
My initial feeling is that normalization would be just a bit odd, even unexpected size effect here, given that other APIs don't tend to normalize. |
Without anyone being of a strong opinion and the web platform mostly not normalizing, we will also just not normalize. |
I guess this is resolved and does not need any further action. |
See #202 for context. Someone(tm) should probably look at what ranges do as they have similar multi-node mutation operations.
The text was updated successfully, but these errors were encountered: