<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Link preview doesn't work on XHTML pages with Content-Type header as `application/xhtml+xml`"
   href="https://bugs.webkit.org/show_bug.cgi?id=150740#c19">Comment # 19</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Link preview doesn't work on XHTML pages with Content-Type header as `application/xhtml+xml`"
   href="https://bugs.webkit.org/show_bug.cgi?id=150740">bug 150740</a>
              from <span class="vcard"><a class="email" href="mailto:bdakin&#64;apple.com" title="Beth Dakin &lt;bdakin&#64;apple.com&gt;"> <span class="fn">Beth Dakin</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=150740#c18">comment #18</a>)
<span class="quote">&gt; Another thought:
&gt; 
&gt; I don’t really know in what practical case I would not be over any element.
&gt; Maybe it’s true past the bottom of the document? I think we’d almost always
&gt; be over the body element if nothing else.
&gt; 
&gt; Given that, I’m not sure it’s valuable for us to prevent the gesture when
&gt; not over an element. And I’m not sure it’s valuable for us to prevent clicks
&gt; when not over an element.
&gt; 
&gt; To word it another way: How did we test the “not over an element” case?
&gt; 
&gt; If I’m right, we can probably just remove this entirely.</span >

Very interesting thoughts. So, it turns out that it is very possible to not be over an element. I think that in normal hit testing, you will always be over an element (I think). But! The hit-testing code path that this code uses is unique to iOS and does all kinds of filtering to look for something clickable/tappable -- see Frame::nodeRespondingToClickEvents(). Now, I don't understand the historical reasons for that instead of normal hit testing, and I don't know if those reasons are still valid. But changing that seems like a big enough change that it should be done separately and with more thought.

So for now, I think I will change clickableElementName to isClickableElement just for clarity.

It seems like a small enough change that I can just make it and check it, but I would be happy to post a new patch if you prefer.</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>