[Webkit-unassigned] [Bug 130941] New: [Gtk] No accessible caret-moved events in a href display:block in div

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 30 01:26:54 PDT 2014


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

           Summary: [Gtk] No accessible caret-moved events in a href
                    display:block in div
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jarekczek at poczta.onet.pl
                CC: jdiggs at igalia.com, webkit-bug-importer at group.apple.com


Created an attachment (id=228124)
 --> (https://bugs.webkit.org/attachment.cgi?id=228124&action=review)
html file to reproduce the bug

Gnome-help contains "a" tag with css style display:block as the only element inside a div. In such cases webkit does not emit "caret-moved" events. While chasing the bug I discovered also other cases were the event is not sent.

I attach an example html file with 8 lines. It shows all the possibilities of "a" tags considering 3 states:
1. with href attribute or not
2. with display:block style or not
3. as a single element inside a div or without a div
The 4 lines that exhibit the bug are marked with "-" at the beginning.

To reproduce the bug use means similar as those in bug #76069, bug #72811. I launch yelp with block.html and run the python script like the one from https://bugs.webkit.org/attachment.cgi?id=115151

I will slowly work on more internal info about the bug and on providing the test cases (testatk.c). For now I discovered from Source/WebCore/editing/atk/FrameSelectionAtk.cpp that:
Errors in lines 2 and 6 are rejected by objectFocusedAndCaretOffsetUnignored.
Errors in lines 5 and 7 are rejected by the condition in emitTextSelectionChange.

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