<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&#64;apple.com" title="Chris Dumez &lt;cdumez&#64;apple.com&gt;"> <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">&gt; All major browsers (Tested Safari, Firefox and Chrome) throw when calling:
&gt; document.body.matches(&quot;:visible&quot;)
&gt; 
&gt; They all complain about the selector being invalid.</span >

Apparently, &quot;:visible&quot; is a jQuery extension and not an actual CSS selector so it makes sense that Element.matches(&quot;:visible&quot;) throws. I don't know what jQuery's Element.is(&quot;:visible&quot;) 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>