Click event doesn't fire for select, radio and checkbox
| Newsgroups | gmane.comp.mozilla.devel.editor |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <6c8176bb-f3d3-4d22-9c04-3ba7fc210537@m45g2000hsb.googlegroups.com> |
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? 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!