Closed Bug 208681 Opened 22 years ago Closed 22 years ago

% property is ignored in Thunderbird Javascript execution

Categories

(MailNews Core :: MIME, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: JoeS1, Assigned: sspitzer)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 The % property is ignored (no javascript error in console) The property simply fails to execute code snippet example: document.getElementById("test") .style.MozOpacity=opacity+"%" (complete script in the attachment) This works in N7.02, but not in newer versions of Moz, or current Thunderbird The script operates correctly in current browsers, fails in mail/news Reproducible: Always Steps to Reproduce: 1.See attachment 2 [review]. 3. Actual Results: script ignores "%" property
Attached file Message saved as html
There is no longer style system support for percentage opacity. It never did what you were doing anyway, is not going to be in CSS3, and the code was pretty bad. Number opacity (float in the range 0-1) continues to work as it always has, and as it will work in the CSS3 specification.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
number opacity/100 work fine to simulate % However my original example DOES function in N7.01 mail/news. I don't know about newer Moz builds. My point is that mail/news functionality should be the same as the browser.
It is. Percentage opacity was removed from the style system, as I said. This affects all Gecko-based applications.
Verified INVALID. Please see bug 195883 for reference.
Status: RESOLVED → VERIFIED
OS: Windows 98 → All
Hardware: PC → All
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: