Side navigation
#10388 closed bug (worksforme)
Opened September 30, 2011 01:34PM UTC
Closed October 01, 2011 04:25PM UTC
Last modified October 02, 2011 06:06PM UTC
.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.
Attachments (0)
Change History (4)
Changed September 30, 2011 08:17PM UTC by comment:1
Changed October 01, 2011 04:25PM UTC by comment:2
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.
Changed October 01, 2011 04:26PM UTC by comment:3
Looking for the duplicate as there must have been one for this to have been patched. Will update once located.
Changed October 02, 2011 06:06PM UTC by comment:4
Thank you a lot for operative answer and bug fix.
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.