Skip to main content

Bug Tracker

Side navigation

#5344 closed bug (fixed)

Opened October 09, 2009 11:59AM UTC

Closed November 11, 2009 06:45PM UTC

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:
Blocked by: Blocking:
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",

Attachments (0)
Change History (4)

Changed October 09, 2009 12:03PM UTC by homm comment:1

Second solution of problem:

opacity: a.style.opacity == .5

Changed October 09, 2009 12:06PM UTC by homm comment:2

I'm sorry, second solution don't work in IE.

Changed October 10, 2009 06:55PM UTC by homm comment:3

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.

Changed November 11, 2009 06:45PM UTC by john comment:4

resolution: → fixed
status: newclosed