Opened 13 years ago
Closed 13 years ago
#6554 closed bug (worksforme)
Selection of input value doesn't work in all browsers
Reported by: | azoapes | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | selector | Version: | 1.4.2 |
Keywords: | input value | Cc: | |
Blocked by: | Blocking: |
Description
Here's a full example of the issue. Works in IE 8. Doesn't in Firefox. http://jsbin.com/apopi3
Change History (3)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Why does :text[value="X"] and input[value="X"] produce different results? http://jsbin.com/apopi3/4/
comment:3 Changed 13 years ago by
Priority: | → undecided |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
I believe there may have been some issue with the way you originally coded up your test case.
I've simplified it down to the following which evaluates whether the input was correctly selected using either
input[value='X'] :text[value="X"]
In FireFox this is correctly outputting a length of 1 for each of the tests. The same is observed in Google Chrome and Safari.
Live Test Example: http://jsfiddle.net/tn4rz/3/
Here's a full example of the issue. Works in IE 8. Doesn't in Firefox. http://jsbin.com/apopi3/3