Closed Bug 243367 Opened 21 years ago Closed 21 years ago

divElement.style.MozOpacity property makes DIV disappear for any value less than 1

Categories

(Core :: CSS Parsing and Computation, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 228441

People

(Reporter: valmont, Assigned: dbaron)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 ://home.earthlink.net/~hollandct/bugzilla/firefox/osx/mozopacity.html you'll see that setting the MozOpacity to any value below 1 (parseFloat on form input) renders that layer fully transparent. This appears to only be an issue with Mozilla 1.6 on OS X: OS X Mozilla 1.3: MozOpacity works as expected OS X Mozilla 1.5: MozOpacity works as expected OS X Mozilla 1.6: MozOpacity does NOT work as expected OS X FireFox 0.8: MozOpacity does NOT work as expected I downloaded Mozilla 1.6 for Win32 and MozOpacity/-moz-opacity work just fine on there. See more isolation information at: http://bugzilla.mozilla.org/show_bug.cgi?id=243352 from my original FireFox project filing. I've researched other MozOpacity bugs but i don't think they're directly tied to this one, but FYI here's a Win32 one: http://bugzilla.mozilla.org/show_bug.cgi?id=228399 Reproducible: Always Steps to Reproduce: 1. go to http://home.earthlink.net/~hollandct/bugzilla/firefox/osx/mozopacity.html 2. keep 0.5 MozOpacity value and hit return (or click button) 3. change value to 1 and hit return (or click button) 4. try out values from 0.0 to 1 You may ignore the second "Opacity" button: it is only there for reference to test style.opacity which is currently not meant to be supported by Mozilla. This issue also occurs when setting opacity via -moz-opacity. Actual Results: DIV goes completely transparent when using any value below 1. Expected Results: DIV should reflect various levels of opacity based on specified values. I'm on Mac OS X Panther, 10.3.3 Build 7F44
A more updated version of this attachment might also be available at: http://home.earthlink.net/~hollandct/bugzilla/firefox/osx/mozopacity.html
> User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; > rv:1.6) Gecko/20040206 Firefox/0.8 This has been fixed for a while... that build is really old (it branched off the trunk back in early November, while this was fixed in February). *** This bug has been marked as a duplicate of 228441 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: