DescriptionAdding Element.closest() API
Implementing Element.closest() API according to specs
https://dom.spec.whatwg.org/#dom-element-closest
This API will parse selectors and if fails then throw SyntaxError
else return closest ancestor that matches selectors
if there is no ancestor that matches selectors, it will
return nullptr.
Blink-Dev Intent to Implement and ship Link :
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/yk_Fo6hyvb8
WebKit Change: http://trac.webkit.org/changeset/174324
BUG=422731
R=habib.virji@samsung.com
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184946
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 12 (3 generated)
|