W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 27 Jun 2010 20:00:35 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-10023-2486@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 27 June 2010 20:00:40 GMT