Closed
Bug 208681
Opened 22 years ago
Closed 22 years ago
% property is ignored in Thunderbird Javascript execution
Categories
(MailNews Core :: MIME, defect)
MailNews Core
MIME
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: JoeS1, Assigned: sspitzer)
Details
Attachments
(1 file)
93.37 KB,
text/html
|
Details |
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
Reporter | ||
Comment 1•22 years ago
|
||
![]() |
||
Comment 2•22 years ago
|
||
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
Reporter | ||
Comment 3•22 years ago
|
||
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.
![]() |
||
Comment 4•22 years ago
|
||
It is. Percentage opacity was removed from the style system, as I said. This
affects all Gecko-based applications.
Comment 5•22 years ago
|
||
Verified INVALID.
Please see bug 195883 for reference.
Status: RESOLVED → VERIFIED
OS: Windows 98 → All
Hardware: PC → All
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•