It only compares if the CanvasStyle is an RGBA or CMYKA color.
Created attachment 61557 [details] Renamed it to isColorAndEqualTo(CanvasStyle)
What about the name: isEquivalentColor ?
(In reply to comment #2) > What about the name: isEquivalentColor ? r=you for that name? :)
Comment on attachment 61557 [details] Renamed it to isColorAndEqualTo(CanvasStyle) yes, r=me with that change.
Committed r63659: <http://trac.webkit.org/changeset/63659>