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

VERIFIED FIXED in mozilla29

Status

()

VERIFIED FIXED
5 years ago
5 years ago

People

(Reporter: jwatt, Assigned: jwatt)

Tracking

Trunk
mozilla29
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
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.
(Assignee)

Comment 1

5 years ago
Created attachment 8334078 [details] [diff] [review]
patch
Attachment #8334078 - Flags: review?(bugs)
(Assignee)

Comment 2

5 years ago
There are tests that we have that fail with the new implementation without this patch.

Updated

5 years ago
Attachment #8334078 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/0605fd2da347
Status: NEW → RESOLVED
Last Resolved: 5 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.