Skip to content

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

Open
@DartBot

Description

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

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-webUse area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.library-htmltype-enhancementA request for a change that isn't a bugweb-librariesIssues impacting dart:html, etc., libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions