[Bug 15428] New: :read-write should always apply to input elements if @readonly doesn't apply

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15428

           Summary: :read-write should always apply to input elements if
                    @readonly doesn't apply
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, Ms2ger@gmail.com


Given that the reasons why bug 13390 isn't going to be fixed means the widgets
can't be read only I guess it would make sense to have :read-write applying to
them.
However, some of the input types for which @readonly doesn't apply shouldn't be
considered :read-write like hidden, button, submit and reset. The ones that
should be :read-write are: range, color, checkbox, radio and file.

I think the specs should add as a second item after: "The :read-write
pseudo-class must match any element falling into one of the following
categories:" (4.14.2, ":read-write"), the following case:
"input elements to which the readonly attribute does not apply and with a value
mode different from value."
If the value mode seems wrong, we could list the types for which it applies or
the types for which it doesn't.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 5 January 2012 14:26:34 UTC