DescriptionFix stroke color definition of canvas context.
The stroke's color of a canvas can be given with the combination
of a CSS color and an optional alpha value. The color part can be
defined with both basic or extended color keywords. Using a basic keyword
with an alpha value works fine but it does not work with extended colors.
The reason is that blink::CanvasStyle::createFromStringWithOverrideAlpha
is not prepared for getting a system color. This is basically due to
a missing case branch. The patch supplies this missing branch.
R=rob.buis@samsung.org,schenney@chromium.org
BUG=434812
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185656
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix typos in the test. #
Messages
Total messages: 9 (2 generated)
|