[Bug 17284] The type of fillStyle/strokeStyle should probably be |(DOMString or CanvasGradient or CanvasPattern)|

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17284

rcabanie <cabanier@adobe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from rcabanie <cabanier@adobe.com> 2012-08-22 04:11:07 UTC ---
The spec for fillStyle/strokeStyle states:
If the value is a string but cannot be parsed as a CSS <color> value, or is
neither a string, a CanvasGradient, nor a CanvasPattern, then it must be
ignored, and the attribute must retain its previous value.

Since you can assign any value, the IDL has to state this. 
Unless you propose to change the prose, the IDL is correct as-is.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 22 August 2012 04:11:08 UTC