Closed
Bug 472810
Opened 16 years ago
Closed 14 years ago
incorrect order of a11y events for nsIDOMNode.replaceChild
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
People
(Reporter: surkov, Unassigned)
References
(Blocks 1 open bug)
Details
nsIDOMNode.replaceChild don't produce remove/create/reorder a11y events. It seems order of these events may be different from time to time and some of events may be not fired.
Reporter | ||
Comment 1•16 years ago
|
||
actually what happens:
1. there is no accessible and therefore there is no hide event
2. however there is reorder event
3. accessible is created when new node is appended therefore there is show event
4. and reorder event which is coalesced with first reorder event
so we have reorder and then show events. Eventually we should have show + reorder event. In the case when there is an accessible initially then we want to get hide + show + reorder. In the meantime reorder event will be fired between them.
Reporter | ||
Updated•16 years ago
|
Summary: nsIDOMNode.replaceChild don't produce remove/create/reorder a11y events → incorrect order of a11y events for nsIDOMNode.replaceChild
Comment 2•16 years ago
|
||
Why does AT want the show event before the reorder event?
Reporter | ||
Comment 3•16 years ago
|
||
possibly it doesn't matter but I think it's better to be consistent.
Comment 4•16 years ago
|
||
OK this makes sense. Sounds like it might be tricky to ensure the ordering during coalescing. I wonder if it would be safe to just push all reordering to the end of the queue.
Reporter | ||
Comment 5•14 years ago
|
||
fixed by bug 570275
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•