[Bug 10023] New: Behavior of 'currentColor' in CanvasRenderingContext2D poorly defined

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10023

           Summary: Behavior of 'currentColor' in CanvasRenderingContext2D
                    poorly defined
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Canvas 2D Context (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: andreas.kling@nokia.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org


The spec currently implies that CanvasGradient should honor the 'currentColor'
value and resolve it to the canvas element's current color value at the time of
assignment.

If this is the case, it means that CanvasGradient objects are linked to the
rendering context that created them for purposes of color resolution.

This linkage should either be explicit in the spec, or removed.

Personally, I don't see the use-case for supporting 'currentColor' and believe
it could be removed altogether from the canvas API.

-- 
Configure bugmail: http://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 Sunday, 27 June 2010 20:00:37 UTC