[Webkit-unassigned] [Bug 20443] Certain parts of link are not clickable when there is frameset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 26 17:13:11 PDT 2008


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


minatoar at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bgarcia at google.com




------- Comment #3 from minatoar at gmail.com  2008-08-26 17:13 PDT -------
How about a text dump layout test, which prints SUCCESS when the link is
clicked.

Something along these lines:



<style>
  a {
    /* position it such that it has dead spot at (X,Y) */
  }
</style>

<a href="#" onclick="return onLinkClick()">LINK TO CLICK</a>

<script>
    if (window.layoutTestController) {
        window.dumpAsText();

        // Click in a dead position
        window.eventSender.mouseMoveTo(X, Y);
        window.eventSender.mouseDown();
        window.eventSender.mouseUp();
    }

    function onLinkClicked() {
      window.console.logln("SUCCESS -- the link was clicked");
      return false; // Prevent default.
    }
</script>


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list