Confirmed on the current nightly. Chrome works as expected with this testcase. Note that the testcase removes 'disabled' and synthesizes the event on load, so the 'submitted' text should appear when the page is loaded, not after you click the Submit button. I've stumbled on this bug while searching for a similar bug, where removing 'disabled' from an <input type=checkbox> and immediately calling .click() on it had no effect. This might change when bug 329509 is fixed.
Status: UNCONFIRMED → NEW
Depends on: 329509
Ever confirmed: true
Summary: Can't submit form immediately after removing "disabled" property → Dispatching a 'click' event immediately after removing "disabled" property on a form element doesn't work
Version: 26 Branch → Trunk
Copying relevant comment from the dupe: (In reply to Olli Pettay [:smaug] (unusual timezone [JST] for a week) from bug 1443148 comment #6) > Isn't this a dup... We don't flush the layout so > https://searchfox.org/mozilla-central/rev/ > 51cd1093c5c2113e7b041e8cc5c9bf2186abda13/layout/style/res/forms.css#432 > still applies. > https://searchfox.org/mozilla-central/rev/ > 51cd1093c5c2113e7b041e8cc5c9bf2186abda13/dom/html/nsGenericHTMLElement. > cpp#2292 > > I don't have good ideas how to fix this though. We don't want to flush > layout all the time. > Or, hmm, perhaps we could flush style when changing disabled state.
You need to log in before you can comment on or make changes to this bug.