RESOLVED FIXED 149529
Optimize Range's lengthOfContentsInNode() for DocumentType Nodes
https://bugs.webkit.org/show_bug.cgi?id=149529
Summary Optimize Range's lengthOfContentsInNode() for DocumentType Nodes
Chris Dumez
Reported 2015-09-24 10:09:09 PDT
Optimize Range's lengthOfContentsInNode() for DocumentType Nodes: https://dom.spec.whatwg.org/#concept-node-length We currently call Node::countChildNodes() unnecessarily on DocumentType Nodes instead of simply returning 0.
Attachments
Patch (3.14 KB, patch)
2015-09-24 10:18 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-09-24 10:18:54 PDT
Chris Dumez
Comment 2 2015-09-24 10:25:31 PDT
Comment on attachment 261873 [details] Patch Clearing flags on attachment: 261873 Committed r190208: <http://trac.webkit.org/changeset/190208>
Chris Dumez
Comment 3 2015-09-24 10:25:36 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.