aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/webrender_helpers.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-05-06 16:10:22 -0500
committerGitHub <noreply@github.com>2017-05-06 16:10:22 -0500
commitbd2cd40c5029f3124f2ed492b4fab7dc8f9101c8 (patch)
treee29d519b9030db37e54d96d1682bd733adbb63a6 /components/layout/webrender_helpers.rs
parent806f369a79409304024ba15259ec5ef68afebe51 (diff)
parentc072f3ab18ab7fd13cd8da23ce8e1eba05ba103b (diff)
downloadservo-bd2cd40c5029f3124f2ed492b4fab7dc8f9101c8.tar.gz
servo-bd2cd40c5029f3124f2ed492b4fab7dc8f9101c8.zip
Auto merge of #16754 - canaltinova:text-shadow, r=emilio
Fix parsing behavior of text-shadow property Blur radius should reject negative values. There was already `Shadow` struct for properties like this. `filter: drop-shadow` also has the same syntax with that property. I thought sharing the same code would be better and used Shadow struct for parsing. Converted to SpecifiedTextShadow to get rid of unneccessary fields and to be able to convert its computed value. Maybe it would be better to avoid using `Shadow` or just using `Shadow` but sharing code and avoiding unneccessary fields seems better. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16754) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout/webrender_helpers.rs')
0 files changed, 0 insertions, 0 deletions