Bug 1052045 - Fix <select> validity status for listboxes and for non-placeholder empty valued options. r=bzbarsky

This commit is contained in:
Tom Puttemans
2016-11-24 22:15:33 +01:00
parent c8f1056ae7
commit 58a52b82b1
13 changed files with 167 additions and 32 deletions

View File

@@ -106,6 +106,11 @@ private:
bool mTopLevelMutation;
/** true if it is known that the option list must be recreated. */
bool mNeedsRebuild;
/** Whether we should be notifying when we make various method calls on
mSelect */
const bool mNotify;
/** The selected index at mutation start. */
int32_t mInitialSelectedIndex;
/** Option list must be recreated if more than one mutation is detected. */
nsMutationGuard mGuard;
};