[Webkit-unassigned] [Bug 62209] All pointer-events fail if text has visibility="hidden"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 7 23:44:05 PDT 2011


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


Dirk Schulze <krit at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hyatt at apple.com,
                   |                            |simon.fraser at apple.com




--- Comment #3 from Dirk Schulze <krit at webkit.org>  2011-06-07 23:44:05 PST ---
The problem is in InlineTextBox::nodeAtPoint(). This method checks if visibility is set to visible. If it is not, it returns false. Thats why we fail.

    if (m_truncation != cFullTruncation && visibleToHitTesting() && rect.intersects(result.rectForPoint(pointInContainer))) {
        ...
    }
    return false;

Can't text ever fire a pointer-event if visibility is hidden on HTML+CSS ?
On SVG we differ between visibleFill, visibleStroke, visiblePaint and fill, stroke, paint. Last three events would fire an pointer-event. Need to check this for HTML.

Adding more people who may have some thoughts on pointer-events and visibility.

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



More information about the webkit-unassigned mailing list