Closed
Bug 940698
Opened 11 years ago
Closed 11 years ago
Add a "ownerNumberControl" property to HTMLInputElement
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
2.53 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8334899 -
Flags: review?(bugs)
Comment 2•11 years ago
|
||
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+
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•