Closed Bug 512959 Opened 15 years ago Closed 15 years ago

no EVENT_DOM_DESTROY when HTML option is removed from HTML select

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: surkov, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

Attached file testcase
run testcase, watch for a11y events (for example in DOMi), click on "remove option test". There is no EVENT_DOM_DESTROY event for HTML option. There is EVENT_REORDER event only for HTML select.
I see a DOMNodeRemoved, and a DOMSubtreeModified mutation event. Alex where is this biting us? Missing defunct events?
(In reply to comment #1)
> I see a DOMNodeRemoved, and a DOMSubtreeModified mutation event. Alex where is
> this biting us? Missing defunct events?

I do not know yet. I covered this bug when I tried to write mochitest for bug 451362 (more precisely for it's part). I'll take a look since I'm around.
(In reply to comment #2)
> (In reply to comment #1)
> > I see a DOMNodeRemoved, and a DOMSubtreeModified mutation event. Alex where is
> > this biting us? Missing defunct events?
> 
> I do not know yet. I covered this bug when I tried to write mochitest for bug
> 451362 (more precisely for it's part). I'll take a look since I'm around.

Ah, that's my bad. Option accessible isn't created and therefore there is no accessible event.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: