Changeset 127432 in webkit


Ignore:
Timestamp:
Sep 3, 2012 12:14:42 PM (12 years ago)
Author:
allan.jensen@nokia.com
Message:

[Qt] Not all activated elements highlighted, but some frames are
https://bugs.webkit.org/show_bug.cgi?id=95683

Reviewed by Kenneth Rohde Christiansen.

Use the new function Node::willRespondToMouseClickEvents to better determine if the element
can be tap-activated and avoid documents and frames completely.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::highlightPotentialActivation):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r127422 r127432  
     12012-09-03  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
     2
     3        [Qt] Not all activated elements highlighted, but some frames are
     4        https://bugs.webkit.org/show_bug.cgi?id=95683
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        Use the new function Node::willRespondToMouseClickEvents to better determine if the element
     9        can be tap-activated and avoid documents and frames completely.
     10
     11        * WebProcess/WebPage/WebPage.cpp:
     12        (WebKit::WebPage::highlightPotentialActivation):
     13
    1142012-09-03  Eunmi Lee  <eunmi15.lee@samsung.com>
    215
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r126343 r127432  
    15631563        // Instead find the enclosing link or focusable element, or the last enclosing inline element.
    15641564        for (Node* node = adjustedNode; node; node = node->parentOrHostNode()) {
    1565             if (node->isMouseFocusable() || node->isLink()) {
     1565            if (node->isDocumentNode() || node->isFrameOwnerElement())
     1566                break;
     1567            if (node->isMouseFocusable() || node->willRespondToMouseClickEvents()) {
    15661568                activationNode = node;
    15671569                break;
Note: See TracChangeset for help on using the changeset viewer.