DescriptionUse IDL union types for CanvasRenderingContext2D.{fill,stroke}Style
This gets rid of the custom bindings for said attributes by using the
union type support in the bindings codegen.
Also rework the resolution of 'currentColor' by using
parseColorOrCurrentColor directly in set{Fill,Stroke}Style, rather than
first parse and then resolve.
This allows CanvasStyle to cleaned up and shrunk a bit.
Also remove code from CanvasStyle that became dead when the legacy
set{Fill,Stroke}Color methods was removed (CMYKA, float RGBA,
gray-level, override alpha).
BUG=430337
BUG=363180, 363181
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185879
Patch Set 1 #
Total comments: 6
Messages
Total messages: 10 (3 generated)
|