Bug 1286509 - Range input does not fire ‘change’ event when the range is changed using the keyboard. r=smaug

This commit is contained in:
Stone Shih
2016-08-01 10:47:34 +08:00
parent 27c926c49e
commit 6d79c3eb1d
4 changed files with 82 additions and 13 deletions

View File

@@ -1494,6 +1494,12 @@ private:
aType == NS_FORM_INPUT_NUMBER;
}
/**
* Returns true if the key code may induce the input's value changed to fire
* a "change" event accordingly.
*/
bool MayFireChangeOnKeyUp(uint32_t aKeyCode) const;
struct nsFilePickerFilter {
nsFilePickerFilter()
: mFilterMask(0) {}