New issue
Advanced search Search tips

Issue 604117 link

Starred by 3 users

Issue metadata

Status: ExternalDependency
Merged: issue 604154
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

:read-write CSS pseudo-class shouldn't match disabled input/textarea

Reported by cvreb...@gmail.com, Apr 16 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

Steps to reproduce the problem:
1. Open the attached testcase in Chrome.
2. Observe the background colors of the <textarea>s and <input>s.

What is the expected behavior?
The <textarea>s and <input>s should have white backgrounds.

What went wrong?
The <textarea>s and <input>s have red backgrounds, indicating that :read-write matched the disabled <input>s and disabled <textarea>s.

Did this work before? No 

Chrome version: 52.0.2709.0  Channel: canary
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 21.0 r0

Per https://html.spec.whatwg.org/multipage/scripting.html#selector-read-write , :read-write should match:

> * <input> elements [...] that are mutable (i.e. that [...] and that are not disabled)
> * <textarea> elements that [...], and that are not disabled

Thus, :read-write shouldn't be matching the disabled <input>s and disabled <textarea>s in the testcase.
 
testcase-read-write.html
399 bytes View Download
Mergedinto: 604154
Status: Duplicate (was: Unconfirmed)
Issue looks similar to  bug 604154 , Hence merging in to it. Feel free to undupe if it's a different issue.

Thanks!

Comment 2 by sim...@opera.com, Apr 19 2016

Status: Untriaged (was: Duplicate)
Unduping. This is a different issue (though related for sure).

Comment 3 by sim...@opera.com, Apr 19 2016

Components: Blink>CSS
Labels: -OS-Mac M-52 OS-All
Status: Available (was: Untriaged)

Comment 4 by makoto...@gmail.com, Apr 20 2016

I filed this issue a past year, but, Blink team says won't fix due to compatibility issue.

https://bugs.chromium.org/p/chromium/issues/detail?id=255351 
Project Member

Comment 5 by sheriffbot@chromium.org, Jun 1 2016

Labels: -M-52 M-53 MovedFrom-52
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 6 by sheriffbot@chromium.org, Jul 13 2016

Labels: -M-53 MovedFrom-53
This issue has been moved once and is lower than Pri-1. Removing the milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Hotlist-Interop

Comment 8 by nainar@chromium.org, Feb 13 2017

Components: -Blink>CSS Blink>Forms>Textarea
Seems like the investigation needs to be carried out by the Forms team

Comment 9 by tkent@chromium.org, Feb 13 2017

Components: Blink>Forms>Text
Status: ExternalDependency (was: Available)
Spec discussion:
https://github.com/w3c/csswg-drafts/issues/127

Sign in to add a comment