[Webkit-unassigned] [Bug 53146] [GTK] Combo boxes should emit object:selection-changed even when collapsed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 1 09:12:20 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53146
Martin Robinson <mrobinson at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #83786|review? |review+
Flag| |
--- Comment #18 from Martin Robinson <mrobinson at webkit.org> 2011-03-01 09:12:20 PST ---
(From update of attachment 83786)
View in context: https://bugs.webkit.org/attachment.cgi?id=83786&action=review
Please unskip tests that were previously crashing with this commit.
> LayoutTests/platform/gtk/accessibility/combo-box-collapsed-selection-changed.html:26
> + description("This tests that the 'state-changed:selected' signal is emitted when arrowing through the options of a combobox while collapsed.");
> +
> + if (window.layoutTestController) {
> + layoutTestController.dumpAsText();
> + }
> +
> + if (window.accessibilityController) {
> + accessibilityController.logAccessibilityEvents();
> + }
> +
> + // Focus in the combobox and move around the options. The signal
> + // 'state-change:selected' should be emitted with every change.
> + document.getElementById("combo").focus();
> + eventSender.keyDown("downArrow");
> + eventSender.keyDown("downArrow");
> + eventSender.keyDown("upArrow");
> + eventSender.keyDown("upArrow");
Please switch this to four space indent.
> Source/WebCore/accessibility/gtk/AXObjectCacheAtk.cpp:106
> + // Ensure the current list object is the same than the old one so
> + // further comparisons make sense. Otherwise, just reset
> + // oldFocusedObject so it won't be taken into account.
> + if (oldListObject != listObject)
> oldFocusedObject = 0;
This approach is incorrect for dealing with multiple views, I think, but that's a bigger problem that should be addressed in some other patch. There's probably a better way to handle focus changes than caching only one oldFocusedObject statically.
--
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