W3C home > Mailing lists > Public > public-html@w3.org > January 2012

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 Jan 2012 14:26:31 +0000
To: public-html@w3.org
Message-ID: <bug-15428-2495@http.www.w3.org/Bugs/Public/>
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 on the CC list for the bug.
Received on Friday, 6 January 2012 01:24:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:43 GMT