Created attachment 8514705 [details] removed-element.html User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140923175406 Steps to reproduce: * have an input on a page * fill that input out with some value, and submit the form (so there's an autocomplete suggestion available next time) * refresh the page, or visit it fresh, etc. * start filling out the input with the same value as before, so the autocomplete suggestion pops up * cause the input to be removed (when I came across this, I had an event handler for the escape key) (I used jQuery's .remove(), which appears to be equivalent to myParent.removeChild(this)). I've attached a short HTML file where you can see the problem. It uses an input named "email" so you can probably get autocompletion if you start typing your email address. The element is deleted if you hit escape. Actual results: the autocomplete suggestion box continues to exist. Sometimes I've seen it jump to the bottom of the window, but usually it's right where the input used to be Expected results: The autocomplete suggestion box should vanish.
The autocomplete tooltip disappears only if the user clicks on the page after removing the input by pressing ESC. In rare cases, I saw the tooltip moving to the bottom of the browser window too.
Component: Untriaged → Autocomplete
Product: Firefox → Toolkit
This was wontfixed for Firefox for Android. Unlike bug 713027 comment #1, I do think it's fixable, using a mutation observer... but I'm not sure that implementing that is worth the effort.
Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → bug 713027
Flags: firefox-backlog? → firefox-backlog+
You need to log in before you can comment on or make changes to this bug.