[Webkit-unassigned] [Bug 151165] jQuery 'is' implementation causes exception to be thrown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 11 16:53:18 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151165

--- Comment #6 from Chris Dumez <cdumez at apple.com> ---
(In reply to comment #5)
> All major browsers (Tested Safari, Firefox and Chrome) throw when calling:
> document.body.matches(":visible")
> 
> They all complain about the selector being invalid.

Apparently, ":visible" is a jQuery extension and not an actual CSS selector so it makes sense that Element.matches(":visible") throws. I don't know what jQuery's Element.is(":visible") does under the scene and which selector is actually being passed to WebKit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151112/fa385115/attachment.html>


More information about the webkit-unassigned mailing list