Re: Click event doesn't fire for select, radio and checkbox
Laurent Jouanneau <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.editor |
|---|---|
| Message-ID | <[email protected]> |
Hello, [email protected] wrote: > These form elements don't generate click and keypress event in editor. > It looks like the behavior is related to "-moz-user-input: none" rule > in EditorOverride.css. If I remove this line, the events will generate > fine. However, select will show the dropdown once clicked and radio/ > checkbox will show their state, which is not desired for editor. My > question is how to prevent the dropdown/state from showing OR how to > keep the rule intact and still receive click and keypress events? Which form elements ? which checkbox/radio/select do you talk about ? in an edited document ? If yes, I don't understand why do you want to receive events from elements which are inside an edited document... > > It looks like NVU was able to do it. I couldn't figure it out its > mechanism. Can anyone shed some light? Thanks a lot! Nvu is based on a very old version of Gecko :-) LaurentJ