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
[missing] dart:html Node.normalize() method #9892
Comments
Removed Type-Defect label. |
Would be useful- I hacked together something for some unit tests I did elsewhere: Added this to the Later milestone. |
This comment was originally written by greg...@gmail.com I did something similar. Not sure what the performance implications are. It didn't seem to matter in my use case. |
Removed Area-HTML label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
Flagging as being a missing method from DOM Changed the title to: "[missing] dart:html Node.normalize() method". |
Is there something particularly difficult about this feature? Seems like it's just a matter of forwarding a function call. I'm holding my breath on year three now; starting to turn purple :-) |
@alan-knight easy fix? |
I think so, and have it queued, but the last easy fix broke the build and I'm waiting for it to be green again before doing any more. |
This issue was originally filed by greg.lowe...@gmail.com
This method merges dom text nodes together.
I have some code which uses Text.splitText(), and creates many single character text nodes - I assume that using normalize will help performance.
Please consider exposing this method in Dart.
https://developer.mozilla.org/en-US/docs/DOM/Node.normalize
http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-normalize
The text was updated successfully, but these errors were encountered: