gecko/content/canvas
Ms2ger 19f060907a Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.

Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
..
crashtests Bug 745818. Fix crashtest bustage. a=bustage 2012-04-23 17:55:56 -04:00
public Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
src Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron 2012-06-06 09:36:38 +02:00
test Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron 2012-06-06 09:36:38 +02:00
Makefile.in Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00