Auto merge of #6290 - hyowon:fill_or_stroke_style, r=nox

The fillStyle and strokeStyle attributes can be either strings(color), CanvasGradients, or CanvasPatterns.
The current implementation only considers strings(color).
r? @nox @jdm @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/6290)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-06-08 09:49:13 -05:00
commit ce30807be5
5 changed files with 53 additions and 34 deletions

View file

@ -1,5 +0,0 @@
[2d.gradient.interpolate.zerosize.stroke.html]
type: testharness
[Canvas test: 2d.gradient.interpolate.zerosize.stroke]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.gradient.interpolate.zerosize.strokeRect.html]
type: testharness
[Canvas test: 2d.gradient.interpolate.zerosize.strokeRect]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.gradient.object.compare.html]
type: testharness
[Canvas test: 2d.gradient.object.compare]
expected: FAIL