Bug 149529

Summary: Optimize Range's lengthOfContentsInNode() for DocumentType Nodes
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, darin, esprehn+autocc, kangil.han, rniwa
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
URL: https://dom.spec.whatwg.org/#concept-node-length
Attachments:
Description Flags
Patch none

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.