Bug 167409

Summary: collectMatchingElementsInFlatTree should not find elements inside an user agent shadow tree
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: WebCore Misc.Assignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, cdumez, commit-queue, esprehn+autocc, keith_miller, koivisto, kondapallykalyan, mark.lam, msaboff, saam, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug none

Ryosuke Niwa
Reported 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.
Attachments
Fixes the bug (12.46 KB, patch)
2017-01-24 20:40 PST, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2017-01-24 20:40:14 PST
Created attachment 299677 [details] Fixes the bug
Radar WebKit Bug Importer
Comment 2 2017-01-24 20:43:26 PST
Ryosuke Niwa
Comment 3 2017-01-25 00:47:36 PST
Comment on attachment 299677 [details] Fixes the bug Thanks for the review!
WebKit Commit Bot
Comment 4 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>
WebKit Commit Bot
Comment 5 2017-01-25 01:13:15 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.