Auto merge of #10651 - craftytrickster:10601/current-color, r=Ms2ger

Setting current color to black if canvas is not rendered in document

Fixes #10601

The change seems deceptively easy, I hope I am not missing anything...

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10651)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-22 09:26:51 -07:00
commit 4da6855e23
2 changed files with 19 additions and 7 deletions

View file

@ -1,6 +0,0 @@
[2d.fillStyle.parse.current.removed.html]
type: testharness
bug: https://github.com/servo/servo/issues/10601
[currentColor is solid black when the canvas element is not in a document]
expected: FAIL