Bug 126714

Summary: Replace ElementIteratorAdapter find() with beginAt()
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: darin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch kling: review+

Description Antti Koivisto 2014-01-09 13:00:14 PST
It makes more sense for what it does.
Comment 1 Antti Koivisto 2014-01-09 13:07:57 PST
Created attachment 220763 [details]
patch
Comment 2 Andreas Kling 2014-01-09 13:13:44 PST
Comment on attachment 220763 [details]
patch

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

Nice :)

> Source/WebCore/html/HTMLFormElement.cpp:508
> +    if (!associatedHTMLElement.isDescendantOf(this))
> +        return currentAssociatedElementsAfterIndex;

isDescendantOf signature is rather 2012 :|
Comment 3 Antti Koivisto 2014-01-09 14:06:46 PST
https://trac.webkit.org/r161583
Comment 4 Darin Adler 2014-01-10 12:59:40 PST
Thanks. Better than I had hoped for!