WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2015-09-24 10:18:54 PDT
Created
attachment 261873
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug