RESOLVED FIXED 122067
Add first()/last() to ElementIteratorAdapters
https://bugs.webkit.org/show_bug.cgi?id=122067
Summary Add first()/last() to ElementIteratorAdapters
Antti Koivisto
Reported 2013-09-28 12:57:28 PDT
Add a convenient way for getting the first and last element if it exists.
Attachments
patch (14.80 KB, patch)
2013-09-28 13:02 PDT, Antti Koivisto
darin: review+
Antti Koivisto
Comment 1 2013-09-28 13:02:26 PDT
Darin Adler
Comment 2 2013-09-28 13:04:13 PDT
Comment on attachment 212906 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=212906&action=review > Source/WebCore/svg/SVGElement.cpp:957 > + return firstTitle ? const_cast<SVGTitleElement*>(firstTitle)->innerText() : String(); Lame that this const_cast is needed.
Antti Koivisto
Comment 3 2013-09-28 13:20:02 PDT
Note You need to log in before you can comment on or make changes to this bug.