Bug 150324 - Tighten ComposedTreeAncestorIterator to return Elements
Summary: Tighten ComposedTreeAncestorIterator to return Elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-19 03:57 PDT by Antti Koivisto
Modified: 2016-04-03 15:00 PDT (History)
8 users (show)

See Also:


Attachments
patch (6.59 KB, patch)
2015-10-19 04:04 PDT, Antti Koivisto
kling: review+
Details | Formatted Diff | Diff
for landing (9.73 KB, patch)
2016-04-03 14:04 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2015-10-19 03:57:51 PDT
Only other thing it could credibly return was Document. We can exclude it from the composed tree and avoid a lot of casting.
Comment 1 Antti Koivisto 2015-10-19 04:04:29 PDT
Created attachment 263469 [details]
patch
Comment 2 Andreas Kling 2015-10-19 07:06:09 PDT
Comment on attachment 263469 [details]
patch

r=me
Comment 3 Antti Koivisto 2016-04-03 14:04:42 PDT
Created attachment 275507 [details]
for landing
Comment 4 Antti Koivisto 2016-04-03 15:00:51 PDT
https://trac.webkit.org/r198992