Open Bug 617629 Opened 14 years ago Updated 2 years ago

Remove the NS_EVENT_STATE_MOZ_READONLY state and use the mutually exclusive NS_EVENT_STATE_MOZ_READWRITE state bit to resolve that state

Categories

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

x86
macOS
defect

Tracking

()

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

NS_EVENT_STATE_MOZ_READONLY and NS_EVENT_STATE_MOZ_READWRITE are mutually exclusive, so we'd really need only one of them.  Let's remove the first one and keep the second one instead of it.
David, just to make sure... there are no plans to have a situation where nodes are neither readonly nor readwrite (a la what we have with enabled/disabled), right?
There hasn't been discussion of any of this stuff for ages.
OK, taking.  Will fix post-2.0.
Assignee: nobody → bzbarsky
Priority: -- → P3
Also, based on the spec changes in http://www.w3.org/Bugs/Public/show_bug.cgi?id=11554, input's and textareas should always be :read-write.
(In reply to comment #4)
> Also, based on the spec changes in
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=11554, input's and textareas
> should always be :read-write.

What do you mean? input elements are still :read-only when immutable and textarea when they have the disabled or readonly attribute set.
(In reply to comment #5)
> (In reply to comment #4)
> > Also, based on the spec changes in
> > http://www.w3.org/Bugs/Public/show_bug.cgi?id=11554, input's and textareas
> > should always be :read-write.
> 
> What do you mean? input elements are still :read-only when immutable and
> textarea when they have the disabled or readonly attribute set.

Yeah, sorry, I meant that whether they're in an edit host or not doesn't matter any more.  I should have not assumed that "always" conveys that meaning!  :-)
In case someone wants to steal this, see bug 562169 comment 9.
Bulk priority change, per :mdaly
Priority: P3 → P5
Component: DOM → DOM: Core & HTML
Assignee: bzbarsky → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.