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

Fix inset box shadows with blur radius. #902

Merged
merged 1 commit into from
Feb 21, 2017

Conversation

glennw
Copy link
Member

@glennw glennw commented Feb 20, 2017

The geometry rects being sent for inset box shadows on the
blur path were incorrect.

The test coverage we have enabled in WPT/CSS only exercises the
inset fast path (where the blur radius is zero). Added a reftest
that just ensures inset box shadows at least draw something - this
is not ideal, but we don't have any proper infrastructure for
reftesting blurs right now. Also confirmed that the reftest fails
without this commit.

Fixes #893.


This change is Reviewable

The geometry rects being sent for inset box shadows on the
blur path were incorrect.

The test coverage we have enabled in WPT/CSS only exercises the
inset fast path (where the blur radius is zero). Added a reftest
that just ensures inset box shadows at least draw something - this
is not ideal, but we don't have any proper infrastructure for
reftesting blurs right now. Also confirmed that the reftest fails
without this commit.

Fixes servo#893.
@glennw
Copy link
Member Author

glennw commented Feb 20, 2017

r? @kvark

cc @changm

@kvark
Copy link
Member

kvark commented Feb 21, 2017

@glennw it appears to be asking for the wrench VS image comparison tests, while we only have wrench VS wrench.
@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit f11e747 has been approved by kvark

@bors-servo
Copy link
Contributor

⌛ Testing commit f11e747 with merge 067243b...

bors-servo pushed a commit that referenced this pull request Feb 21, 2017
Fix inset box shadows with blur radius.

The geometry rects being sent for inset box shadows on the
blur path were incorrect.

The test coverage we have enabled in WPT/CSS only exercises the
inset fast path (where the blur radius is zero). Added a reftest
that just ensures inset box shadows at least draw something - this
is not ideal, but we don't have any proper infrastructure for
reftesting blurs right now. Also confirmed that the reftest fails
without this commit.

Fixes #893.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/902)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - status-travis
Approved by: kvark
Pushing 067243b to master...

@bors-servo bors-servo merged commit f11e747 into servo:master Feb 21, 2017
@bors-servo bors-servo mentioned this pull request Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants