In bug 939635 and bug 940696 I need to be able to determine whether the text control that is being handled is the anonymous text control descendant of an <input type=number> and, if so, get the number control. Probably in future this information will be required elsewhere too. Rather than encoding knowledge about the makeup of the anonymous shadow tree for <input type=number> in all places that need to know about it (and have them all break and have to be updated if we want to change the shadow tree), it seems like we should expose some means of obtaining this information on HTMLInputElement to make things more robust and less messy.
Created attachment 8334899 [details] [diff] [review] patch
Attachment #8334899 - Flags: review?(bugs)
Comment on attachment 8334899 [details] [diff] [review] patch Could you add a comment to the .webidl what the property is about.
Attachment #8334899 - Flags: review?(bugs) → review+
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in before you can comment on or make changes to this bug.