Commit Graph
4 Commits
Author SHA1 Message Date
Kyle Machulis 4dae9895ed Bug 1403795 - Remove nsIDOMHTMLButtonElement; r=bz
Removes the XPCOM interface for nsIDOMHTMLButtonElement, replacing it
with binding class usage.

MozReview-Commit-ID: CzqRb7lI28W
2017-09-29 11:57:19 -07:00
Jim Chen b0c1850937 Bug 1403251 - Only display validation message when element is invalid; r=sebastian
Only display form validation message when the element becomes invalid
after an invalid submission, by checking the "-moz-ui-invalid"
pseudo-class.

Also fix some message visibility bugs, by making sure in more places
that we only display messages for focused elements.

MozReview-Commit-ID: 16rvMmu8Zj6
2017-09-26 18:39:52 -04:00
Jim Chen 7b3dd2d2bf Bug 1400243 - 2. Small fixes to ActionBarHandler and FormAssistant; r=esawin
Small fixes to ride-along in this bug:
* Use localized ellipsis in ActionBarHandler if available.
* Fix one situation where the FormAssistPopup fails to hide.
* Handle an error case in FormAssistant.

MozReview-Commit-ID: 9EZhPnS5h3E
2017-09-19 15:57:19 -04:00
Jim Chen 0b6141761d Bug 1400886 - Change BrowserCLH subscripts into modules; r=snorp
Change the subscripts (e.g. FormAssistant.js) that we load in BrowserCLH
into proper .jsm modules. This avoids the `defineLazyScriptGetter`
incompatibility mentioned in the bug, and when we turn on shared JSM
global, any memory advantage we get from using subscripts should not
matter anymore.

MozReview-Commit-ID: krSwANdtb5
2017-09-19 14:57:32 -04:00