Closed Bug 223769 Opened 22 years ago Closed 22 years ago

-moz-opacity does not work when set to 1

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
minor

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
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
That's all good and fine, but you should be able to use 1 as a value.
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.
Product: Core → Core Graveyard
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.