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

inner shadows are drawn behind the background instead of above #7872

Closed
paulrouget opened this issue Oct 5, 2015 · 0 comments
Closed

inner shadows are drawn behind the background instead of above #7872

paulrouget opened this issue Oct 5, 2015 · 0 comments

Comments

@paulrouget
Copy link
Contributor

<div></div>

<style>
  div {
    width: 100px;
    height: 100px;
    box-shadow: inset 0 20px 0 0 red;
    background-color: rgba(0,0,0,0.7);
  }
</style>

screen shot 2015-10-05 at 15 49 13

bors-servo pushed a commit that referenced this issue Oct 5, 2015
Draw shadows after the background.

Fixes #7872

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7883)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this issue Oct 6, 2015
Draw shadows after the background.

Fixes #7872

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7883)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this issue Oct 6, 2015
Draw shadows after the background.

Fixes #7872

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7883)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this issue Oct 6, 2015
Draw shadows after the background.

Fixes #7872

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7883)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this issue Oct 7, 2015
Draw shadows after the background.

Fixes #7872

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7883)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this issue Oct 7, 2015
Draw shadows after the background.

Fixes #7872

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7883)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants