Bug 118236 - :read-write pseudo-class should not be applied on <input type="text" disabled>
Summary: :read-write pseudo-class should not be applied on <input type="text" disabled>
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: gur.trio
URL: http://www.whatwg.org/specs/web-apps/...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 05:14 PDT by Makoto Kato
Modified: 2013-09-25 05:20 PDT (History)
3 users (show)

See Also:


Attachments
test case (381 bytes, text/html)
2013-07-01 05:15 PDT, Makoto Kato
no flags Details
Patch (6.20 KB, patch)
2013-09-24 05:54 PDT, gur.trio
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Makoto Kato 2013-07-01 05:14:27 PDT
http://www.whatwg.org/specs/web-apps/current-work/multipage/selectors.html#selector-read-write

The :read-write pseudo-class must match any element falling into one of the following categories, which for the purposes of Selectors are thus considered user-alterable: [SELECTORS]

    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)


So :read-write pseudo-class should not be applied on <input type="text" disabled>.  Same issue on <textarea> too.
Comment 1 Makoto Kato 2013-07-01 05:15:27 PDT
Created attachment 205800 [details]
test case
Comment 2 gur.trio 2013-09-24 05:54:08 PDT
Created attachment 212455 [details]
Patch
Comment 3 gur.trio 2013-09-24 07:23:32 PDT
(In reply to comment #2)
> Created an attachment (id=212455) [details]
> Patch

Hi Darin. Can you please review this?
Comment 4 gur.trio 2013-09-24 07:23:51 PDT
(In reply to comment #2)
> Created an attachment (id=212455) [details]
> Patch

Hi Darin. Can you please review this?
Comment 5 WebKit Commit Bot 2013-09-25 05:20:31 PDT
Comment on attachment 212455 [details]
Patch

Clearing flags on attachment: 212455

Committed r156387: <http://trac.webkit.org/changeset/156387>
Comment 6 WebKit Commit Bot 2013-09-25 05:20:33 PDT
All reviewed patches have been landed.  Closing bug.