Modify ↓
Ticket #5344 (closed bug: fixed)
Opera 9.2 and belowe don't handle css proprety «opacity»
| Reported by: | homm | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | core | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
For this browser jQuery.support.opacity evaluate to false. Problem in line 3159:
opacity: a.style.opacity === "0.5",
in This browser a.style.opacity equal "0.50"
Quick fix is replace line:
opacity: a.style.opacity.substr(0,3) === "0.5",
Change History
comment:3 Changed 4 years ago by homm
Another idea to fix this is check value 0.55 instead 0.5 (or another number with two digits)
<a href="/a" style="color:red;float:left;opacity:.55;">a</a>
opacity: a.style.opacity === "0.55",
As i can see, works in all browsers.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Second solution of problem: opacity: a.style.opacity == .5