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
This patch is a merge from webkit http://trac.webkit.org/changeset/174324
by Dhi Aurrahman <diorahman@rockybars.com>".
BUG=422731, 417603
R=habib.virji@samsung.com
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185180
Patch Set 1 #
Total comments: 5
Patch Set 2 : #
Messages
Total messages: 12 (3 generated)
|