Bug 167409 - collectMatchingElementsInFlatTree should not find elements inside an user agent shadow tree
Summary: collectMatchingElementsInFlatTree should not find elements inside an user age...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-01-24 20:36 PST by Ryosuke Niwa
Modified: 2017-01-25 01:13 PST (History)
12 users (show)

See Also:


Attachments
Fixes the bug (12.46 KB, patch)
2017-01-24 20:40 PST, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2017-01-24 20:36:34 PST
collectMatchingElementsInFlatTree should not find elements inside an user agent shadow tree.
Also, add matchingElementInFlatTree which finds the first element which matches a given selector.
Comment 1 Ryosuke Niwa 2017-01-24 20:40:14 PST
Created attachment 299677 [details]
Fixes the bug
Comment 2 Radar WebKit Bug Importer 2017-01-24 20:43:26 PST
<rdar://problem/30181058>
Comment 3 Ryosuke Niwa 2017-01-25 00:47:36 PST
Comment on attachment 299677 [details]
Fixes the bug

Thanks for the review!
Comment 4 WebKit Commit Bot 2017-01-25 01:13:10 PST
Comment on attachment 299677 [details]
Fixes the bug

Clearing flags on attachment: 299677

Committed r211139: <http://trac.webkit.org/changeset/211139>
Comment 5 WebKit Commit Bot 2017-01-25 01:13:15 PST
All reviewed patches have been landed.  Closing bug.