[Webkit-unassigned] [Bug 27048] [Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 30 10:37:21 PDT 2010


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





--- Comment #2 from Joanmarie Diggs <joanmarie.diggs at gmail.com>  2010-10-30 10:37:21 PST ---
Created an attachment (id=72440)
 --> (https://bugs.webkit.org/attachment.cgi?id=72440&action=review)
requested manual test case

Mario, I am more than happy to provide test cases in exchange for your awesome work. :-)

1. Open the attached in Epiphany and enable caret browsing.

2. Arrow Up and Down amongst the lines.

3. Click to move the caret from one paragraph to another.

Expected results: After steps 2 and 3, when each paragraph* gets the caret:

1. The AtkObject associated with the paragraph would emit an object:state-changed:focused event with detail1 == 1. A focus: event would also be emitted. And the AtkObject's state would change to include ATK_STATE_FOCUSED.

2. If the cursor was in some other paragraph, the AtkObject associated with the paragraph which was just exited would emit an object:state-changed:focused event with detail1 == 0. Its state would change to NOT include ATK_STATE_FOCUSED.

On a related note, any object which might at some point have ATK_STATE_FOCUSED should also have ATK_STATE_FOCUSABLE at all times.

* You'll notice that there's a forced line break in the first paragraph which of course results in the first paragraph consisting of two WebKit text render objects. We do NOT want the events or state changes to occur if the user moves from render object to render object *within the same paragraph*. We only want them when the user navigates from one exposed-to-ATs object to another exposed-to-ATs object.

Hope this helps. Let me know if you have questions. Thanks!

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