#10388 closed bug (worksforme)
.is('[disabled]') return wrong values in Opera
Reported by: | San4es | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | traversing | Version: | 1.6.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Example:
<ul> <li></li> <li disabled></li> <li disabled='disabled'></li> <li disabled=''></li> </ul>
Function .is('[disabled]') returns for each LI element in Opera:
false, false, true, false
but expected
false, true, true, true.
There is no such problem in other browsers.
Change History (4)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Component: | unfiled → traversing |
---|---|
Priority: | undecided → low |
Resolution: | → worksforme |
Status: | new → closed |
Tested in both Opera.current/stable and Opera.next with jQuery edge (1.7RC): this results in the expected output of false, true, true, true. Reverting to jQuery 1.6.4 or below results in the incorrect output so this has definitely already been fixed. Please use jQuery 1.7RC1 for now as this fix should already be in there. http://jsfiddle.net/A6qfM/7/
comment:3 Changed 11 years ago by
Looking for the duplicate as there must have been one for this to have been patched. Will update once located.
There is an working example: http://jsfiddle.net/A6qfM/6/. Tests were performed in following Opera 11.51 with jQuery 1.6.2, 1.6.3, 1.6.4.