Bug 157599 - Kill Node::ancestorElement()
Summary: Kill Node::ancestorElement()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-11 17:03 PDT by Chris Dumez
Modified: 2016-05-11 21:34 PDT (History)
6 users (show)

See Also:


Attachments
Patch (5.42 KB, patch)
2016-05-11 17:04 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-05-11 17:03:47 PDT
Kill Node::ancestorElement() and use Node::parentElement() instead. If our parent is not an Element then none of our ancestors will be.
Comment 1 Chris Dumez 2016-05-11 17:04:44 PDT
Created attachment 278684 [details]
Patch
Comment 2 WebKit Commit Bot 2016-05-11 21:34:25 PDT
Comment on attachment 278684 [details]
Patch

Clearing flags on attachment: 278684

Committed r200741: <http://trac.webkit.org/changeset/200741>
Comment 3 WebKit Commit Bot 2016-05-11 21:34:30 PDT
All reviewed patches have been landed.  Closing bug.