Closed
Bug 129981
Opened 22 years ago
Closed 20 years ago
Manipulating opacity seems to affect block's margins
Categories
(Core :: Layout: Block and Inline, defect, P3)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
People
(Reporter: porter, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
467 bytes,
text/html
|
Details |
(I'm not sure if this should be a style issue or an event handling one, but the latter seems more proper.) The sample URL points to a page containing two sets of links whose display has been changed to "block". The first set is fine; however, mousing over the links in the second set from top to bottom causes the elements to push apart, and mousing back up from the bottom causes them to contract again. The only difference between the two sets are two CSS rule sets that apply to the links in the second set to manipulate the links' opacity with "-moz-opacity." I've tested this with several of the latest nightlies (currently today's: 20020310). I will double check, but I don't believe this was happening in the 0.9.8 release.
Reporter | ||
Comment 1•22 years ago
|
||
I've checked with the 0.9.8 release on WinNT, and I was right -- it does not exhibit this behavior.
Comment 2•22 years ago
|
||
Confirming in 0.9.9 on WinME.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 3•22 years ago
|
||
This is still a problem in recent nightlies (2002040803).
Updated•22 years ago
|
QA Contact: madhur → rakeshmishra
Reporter | ||
Comment 4•22 years ago
|
||
I may have tracked down more specific behavior on this bug. I believe what's happening is that manipulating the opacity of an element with the :hover pseudo-class is causing that element's bottom margin not to collapse with the following element's top margin, for some reason. I've updated the referenced URL to show a third case with larger top and bottom margins on the elements, and you can see that the jump is much larger -- basically doubling the space between the elements.
Reporter | ||
Comment 5•22 years ago
|
||
This problem is still present in the current nightly build (2002081004).
Reporter | ||
Comment 6•22 years ago
|
||
I had implemented a temporary fix for this problem on my home page, but the 1.2a release now breaks my fix. Will post more once I've had a chance to debug a little better.
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
->Layout.
Component: Event Handling → Layout: Block & Inline
er, really this time
Assignee: joki → block-and-inline
QA Contact: trix → ian
Comment 9•22 years ago
|
||
Comment 10•22 years ago
|
||
I was about to resummarize this bug as "Changing block's opacity temporarily doubles effect of margin-bottom", but I noticed that in my testcase, changing the h3's opacity also makes the h3 move up a pixel or two.
Reporter | ||
Comment 11•22 years ago
|
||
Just removing the "on hover" from the summary, since it seems pretty clear now that it's any sort of manipulation of the opacity that causes this problem.
Summary: Manipulating opacity on hover seems to affect block's margins → Manipulating opacity seems to affect block's margins
Comment 12•21 years ago
|
||
*** Bug 193411 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
OS: Windows 98 → All
Hardware: PC → All
Comment 13•20 years ago
|
||
Fixed by checkin for bug 257612
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•