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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 7 06:39:55 PDT 2011


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

           Summary: All pointer-events fail if text has visibility="none"
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://dev.w3.org/SVG/profiles/1.1F2/test/svg/interact
                    -pevents-01-b.svg
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: krit at webkit.org
                CC: zimmermann at kde.org


All pointer-events fail if text has visibility="none". A text should still fire an pointer event on fill, stroke, painted, even it visibility was set to 'hidden'.

The problem is not RenderSVGText, but RenderBlock::nodeAtPoint that is called by RenderSVGText::nodeAtFloatPoint.

I guess this method should return 'true' in:

        // Hit test contents if we don't have columns.
        if (!hasColumns()) {
            if (hitTestContents(request, result, pointInContainer, scrolledOffset.width(), scrolledOffset.height(), hitTestAction)) { ...

but doesn't. hitTestContents(...) returns 'false'. It returns 'true' if text has not visibility="hidden". Needs further checking.

-- 
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