Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

margin will not be hidden when overflow is hidden or scroll #19466

Open
tigercosmos opened this issue Dec 2, 2017 · 0 comments
Open

margin will not be hidden when overflow is hidden or scroll #19466

tigercosmos opened this issue Dec 2, 2017 · 0 comments

Comments

@tigercosmos
Copy link
Collaborator

@tigercosmos tigercosmos commented Dec 2, 2017

margin will not be hide when overflow is hidden or scroll

<style>
    #scroller1 {
        height: 80px;
        width: 80px;
        overflow: hidden;
        background: red;
    }
    #container1 {
        background: green;
        margin-bottom: 200px;
        width: 300px;
        height: 300px;
    }

    #box {
        height: 80px;
        width: 80px;
        background: red;
    }
</style>
<div id="scroller1">
    <div id="container1"></div>
</div>
<div id="box">
</div>

Firefox:
2017-12-03 5 01 44

Servo:
2017-12-03 5 01 29

related to #19280

@tigercosmos tigercosmos changed the title margin will not be hide when overflow is hidden or scroll margin will not be hidden when overflow is hidden or scroll Dec 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.