Closed
Bug 223769
Opened 22 years ago
Closed 22 years ago
-moz-opacity does not work when set to 1
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 212366
People
(Reporter: nilson, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031016 Firebird/0.7+ (Build by Nilson Cain)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031016 Firebird/0.7+ (Build by Nilson Cain)
If you create a div with a moz-opcity of 0.6 (for example), then create a p as a
child of the div, the p inherits the div's moz-opacity. If you want to make the
P's text non transparent, you should be able to set the p's moz-opcity to 1, but
that does not work. It must be set to 0.999.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:
Text is dispolayed with smae opacity as div
Expected Results:
Displayed text with opcity set on P. It works if you set the P's opacity to
0.999, but not 1, so that's the issue.
The website linked may not always be available
Comment 1•22 years ago
|
||
Actually, the rendering for -moz-opacity: 0.999 and -moz-opacity: 1 should be
identical, and both should be like what the current rendering for -moz-opacity:
0.999 is.
*** This bug has been marked as a duplicate of 212366 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 2•22 years ago
|
||
That's all good and fine, but you should be able to use 1 as a value.
Comment 3•22 years ago
|
||
Er, I meant both should be like the current rendering for -moz-opacity: 1.
Right now, -moz-opacity has this bizarre sorta-inherited-but-not behavior, and
bug 212366 fixes that.
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•