Auto merge of #6413 - hyowon:invalid_shadow_attrs, r=Ms2ger

Check invalid values for the shadow attributes.

I left out checking invalid values when setting the shadows attributes.
r? @nox @pcwalton 
cc @yichoi

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6413)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-06-20 06:44:08 -06:00
commit 02303941be
5 changed files with 15 additions and 22 deletions

View file

@ -1,5 +0,0 @@
[2d.fillStyle.parse.invalid.name-3.html]
type: testharness
[Canvas test: 2d.fillStyle.parse.invalid.name-3]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.attributes.shadowBlur.invalid.html]
type: testharness
[Canvas test: 2d.shadow.attributes.shadowBlur.invalid]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.attributes.shadowColor.invalid.html]
type: testharness
[Canvas test: 2d.shadow.attributes.shadowColor.invalid]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.attributes.shadowOffset.invalid.html]
type: testharness
[Canvas test: 2d.shadow.attributes.shadowOffset.invalid]
expected: FAIL