Open
Bug 1100582
Opened 10 years ago
Updated 2 years ago
margin-top animation behaves different with css border presence at the parent node
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
UNCONFIRMED
People
(Reporter: mgalli, Unassigned)
References
Details
I have two cases:
1) http://taboca.github.io/TagVisor/center-border.html
2) http://taboca.github.io/TagVisor/center.html
The case 1) is correct, as designed.The only difference it 1px border which is placed in a DIV a div that is the parent for an inner DIV which is animated to become in the center (animation in the inner DIV is margin-top).
If you say that this is a bug I can *try* to produce a testcase.
Reporter | ||
Updated•10 years ago
|
Summary: margin-top animation behaves different with css border presence → margin-top animation behaves different with css border presence at the parent node
Reporter | ||
Updated•10 years ago
|
Status: NEW → UNCONFIRMED
Ever confirmed: false
Updated•10 years ago
|
Component: DOM: Core & HTML → Layout
Comment 1•10 years ago
|
||
It's not clear whether this is a bug, but chances are you're getting margin collapsing. Whether you _should_ be getting it is hard to tell. A page that just has the static rules for the point when you think things look wrong would make it a lot simpler to tell.
Reporter | ||
Comment 2•10 years ago
|
||
Thanks, Boris, for this note — I think I had an old interaction bug with you guys where I learned a bit about the margin collapsing problem. I will re read that bug to understand.
BTW the same happens with Chrome.
Comment 3•10 years ago
|
||
That makes it pretty likely that this is a margin collapsing issue and not a bug, fwiw.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•