:-moz-read-write pseudo-class shouldn't be applied on <input type=text disabled> and <textarea disabled>
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: m_kato, Assigned: emilio)
References
()
Details
(Keywords: dev-doc-complete)
Attachments
(3 files, 1 obsolete file)
782 bytes,
patch
|
Details | Diff | Splinter Review | |
4.48 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
47 bytes,
text/x-phabricator-request
|
Details | Review |
![]() |
||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•10 years ago
|
||
Reporter | ||
Comment 4•10 years ago
|
||
Reporter | ||
Comment 5•10 years ago
|
||
Reporter | ||
Comment 6•10 years ago
|
||
![]() |
||
Comment 7•10 years ago
|
||
![]() |
||
Comment 8•10 years ago
|
||
Reporter | ||
Comment 9•10 years ago
|
||
![]() |
||
Comment 10•10 years ago
|
||
Reporter | ||
Comment 11•10 years ago
|
||
![]() |
||
Comment 12•10 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 13•5 years ago
|
||
Per https://html.spec.whatwg.org/#selector-read-write:
The :read-write pseudo-class must match any element falling into one
of the following categories [...]:
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.
This fixes the :disabled
bits.
This matches Safari behavior and the spec, but not Chrome, which has our
behavior.
Fix the WPT, which had multiple issues, as :read-only is defined to be
just the opposite of :read-write. This will pass as soon as I unprefix
the pseudo-class.
Assignee | ||
Updated•5 years ago
|
Comment 14•5 years ago
|
||
Comment 17•5 years ago
|
||
Comment 18•5 years ago
|
||
As the pseudo-class is still not un-prefixed.
Updated•5 years ago
|
Comment 19•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b891abd233e6
https://hg.mozilla.org/mozilla-central/rev/e1eb80ef4079
Comment 21•5 years ago
|
||
Mentioned this in the site compatibility note for Bug 312971.
Comment 22•5 years ago
|
||
I've added a rel note to cover this: https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/78#CSS
I don't think anything else is needed here.
Description
•