<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - jQuery 'is' implementation causes exception to be thrown"
href="https://bugs.webkit.org/show_bug.cgi?id=151165#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - jQuery 'is' implementation causes exception to be thrown"
href="https://bugs.webkit.org/show_bug.cgi?id=151165">bug 151165</a>
from <span class="vcard"><a class="email" href="mailto:cdumez@apple.com" title="Chris Dumez <cdumez@apple.com>"> <span class="fn">Chris Dumez</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=151165#c5">comment #5</a>)
<span class="quote">> All major browsers (Tested Safari, Firefox and Chrome) throw when calling:
> document.body.matches(":visible")
>
> They all complain about the selector being invalid.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>