Bug 120430 - Add child and descendant const iterators
Summary: Add child and descendant const iterators
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 11:09 PDT by Antti Koivisto
Modified: 2013-08-28 12:43 PDT (History)
2 users (show)

See Also:


Attachments
patch (22.36 KB, patch)
2013-08-28 11:14 PDT, Antti Koivisto
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2013-08-28 11:09:52 PDT
For const-correct DOM tree traversal.
Comment 1 Antti Koivisto 2013-08-28 11:14:37 PDT
Created attachment 209908 [details]
patch
Comment 2 Andreas Kling 2013-08-28 11:18:12 PDT
Comment on attachment 209908 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=209908&action=review

> Source/WebCore/dom/Node.cpp:2396
> +    if (!isContainerNode())
> +        return 0;

Why is this even in Node to begin with?
Comment 3 Antti Koivisto 2013-08-28 12:43:19 PDT
https://trac.webkit.org/r154769