Closed Bug 27735 Opened 25 years ago Closed 25 years ago

Note about div areas with width:0, height:0 and overflow:hidden.

Categories

(Core :: Layout, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 11660

People

(Reporter: mgalli, Assigned: troy)

References

()

Details

(Keywords: verifyme)

build:2000021408, win98

I have included the following attributes in the CSS of a div area:
opacity:.5
width:0px
height:0px
overflow:hidden

as you can see in the source:

http://www.geckonnection.com/emboss

To reproduce the bug:
---------------------

See that we can still see the image. Since width is 0 and height is 0 and 
overflow:hidden, I think it's supposed to clip the entire image to width and 
height = 0. 

in index4.html, opacity is equal to 1.0. And it's working fine. We cannot see 
the image. So I think the problem happens when we set opacity != 1.0 or 0

NOTE:
-----
I have made this, width:0px, height:0px and overlow:hidden, to try to avoid
that RED visual effect when using opacity in WIN98 - bug (16574). And it's 
working. See the original version without this settings:

http://www.geckonnection.com/emboss/index3.html

MORE NOTES: 
----------
With,
http://www.geckonnection.com/emboss

click move left some times. And then click more down or top some times. See that 
the old image positions are just repaiting for left and right.
Yes, you're right the problem happens when opacity is involved.

This is a DUP of bug #11660 that says that "clip" should apply to child views.

*** This bug has been marked as a duplicate of 11660 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Summary: Note about div areas with width:0, height:0 and overflow:hidden. → Note about div areas with width:0, height:0 and overflow:hidden.
Keywords: verifyme
Marking verified dup of 11660.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.