[Webkit-unassigned] [Bug 173747] New: Web Inspector: Use Element.closest for internal code
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 22 16:56:55 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=173747
Bug ID: 173747
Summary: Web Inspector: Use Element.closest for internal code
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Keywords: GoodFirstBug
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nvasilyev at apple.com
CC: inspector-bugzilla-changes at group.apple.com
There're a few methods defined in Utilities.js that could be replaced by Element.prototype.closest[1]:
Node.prototype.enclosingNodeOrSelfWithClass
Node.prototype.enclosingNodeOrSelfWithNodeName
Node.prototype.enclosingNodeOrSelfWithNodeNameInArray
[1]: https://developer.mozilla.org/en-US/docs/Web/API/Element/closest
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170622/8b5bd824/attachment.html>
More information about the webkit-unassigned
mailing list