Closed Bug 940006 Opened 6 years ago Closed 6 years ago

Get the 'readonly' attribute working for <input type=number>

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

VERIFIED FIXED
mozilla29

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file)

The structure of the new implementation for <input type=number> means that we'll need special handling for the 'readonly' attribute to make sure that the the input's anonymous text control is kept in sync with regards to readonly/readwrite state.
Attached patch patchSplinter Review
Attachment #8334078 - Flags: review?(bugs)
There are tests that we have that fail with the new implementation without this patch.
Attachment #8334078 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/0605fd2da347
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Verified that read-only attribute can't be changed from keyboard on Firefox 29 beta 6 under Mac OS X 10.9.2, Ubuntu 64-bit and Win 7 74-bit.

I'm changing the target milestone to correctly reflect the release of Input type number.

I believe that bug 982189 is related.
Status: RESOLVED → VERIFIED
Target Milestone: mozilla28 → mozilla29
You need to log in before you can comment on or make changes to this bug.