Closed Bug 715484 Opened 13 years ago Closed 4 years ago

:read-write should apply to some input types for which @readonly doesn't apply

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mounir, Assigned: mounir)

References

(Blocks 1 open bug)

Details

For example <input type='checkbox'> is :read-write, not :read-only. It's the same for radio, file, and some other types we do not implement yet like number and range.

See spec bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15428
Blocks: 715456
Assignee: nobody → mounir
Blocks: 1532968
Blocks: 312971

https://html.spec.whatwg.org/#selector-read-write:

  • input elements to which the readonly attribute applies, and that are mutable (i.e. that do not have the readonly attribute specified and that are not disabled)
  • textarea elements that do not have a readonly attribute, and that are not disabled
  • elements that are editing hosts or editable and are neither input elements nor textarea elements

So it shouldn't apply to checkboxes and such.

disabled is covered by bug 888884.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.