Skip to content
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

Open
DartBot opened this issue Apr 15, 2013 · 10 comments
Open

[missing] dart:html Node.normalize() method #9892

DartBot opened this issue Apr 15, 2013 · 10 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. library-html P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug web-libraries Issues impacting dart:html, etc., libraries

Comments

@DartBot
Copy link

DartBot commented Apr 15, 2013

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

@sethladd
Copy link
Contributor

Removed Type-Defect label.
Added Type-Enhancement, Area-HTML, Triaged labels.

@blois
Copy link
Contributor

blois commented May 23, 2013

Would be useful- I hacked together something for some unit tests I did elsewhere:
https://github.com/blois/safe-dom/blob/master/test/utils.dart#L41


Added this to the Later milestone.

@DartBot
Copy link
Author

DartBot commented May 23, 2013

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.

@kevmoo
Copy link
Member

kevmoo commented Apr 7, 2014

Removed Area-HTML label.
Added Area-Library, Library-Html labels.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@alan-knight
Copy link
Contributor

Flagging as being a missing method from DOM


Changed the title to: "[missing] dart:html Node.normalize() method".

@DartBot DartBot added Type-Enhancement area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-html labels Jan 13, 2015
@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed triaged labels Feb 29, 2016
@eukreign
Copy link
Contributor

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 :-)

@kevmoo
Copy link
Member

kevmoo commented Jan 18, 2017

@alan-knight easy fix?

@alan-knight
Copy link
Contributor

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.

@vsmenon vsmenon added the area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. label Jul 20, 2019
@sigmundch sigmundch added the web-libraries Issues impacting dart:html, etc., libraries label Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. library-html P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug web-libraries Issues impacting dart:html, etc., libraries
Projects
None yet
Development

No branches or pull requests

9 participants