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

overflow:hidden + inline-block + position:relative: element not painted #7571

Closed
paulrouget opened this issue Sep 9, 2015 · 1 comment
Closed

Comments

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Sep 9, 2015

<style>
  div {
    overflow:hidden;
    display:inline-block;
    position:relative;
    width:100px;
    height:100px;
    background:red
  }
</style>
<div></div>

The div is not visible. Remove one of them: overflow|display|position, and the div shows up.

screen shot 2015-09-09 at 07 52 12

@paulrouget
Copy link
Contributor Author

@paulrouget paulrouget commented Sep 9, 2015

/cc @pcwalton

bors-servo pushed a commit that referenced this issue Sep 15, 2015
Actually store the overflow for inline-block elements.

Fixes #7571

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7588)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this issue Sep 17, 2015
Actually store the overflow for inline-block elements.

Fixes #7571

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7588)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this issue Sep 17, 2015
Actually store the overflow for inline-block elements.

Fixes #7571

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7588)
<!-- Reviewable:end -->
jdramani added a commit to jdramani/servo that referenced this issue Sep 18, 2015
josiahdaniels added a commit to josiahdaniels/servo that referenced this issue Sep 28, 2015
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.