[Webkit-unassigned] [Bug 95083] New: Setting 'color' CSS property by script doesn't update values using 'currentColor'
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 27 06:58:24 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=95083
Summary: Setting 'color' CSS property by script doesn't update
values using 'currentColor'
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.8
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ml at graougraou.com
CC: zimmermann at kde.org
Created an attachment (id=160711)
--> (https://bugs.webkit.org/attachment.cgi?id=160711&action=review)
test case
In the attached testcase, I have a <linearGradient> element and I set its "color" CSS property dynamically in a script ran after the DOMContentLoaded fires. The <stop> elements of the <linearGradient> all have their "stop-color" value set to "currentColor" via a CSS rule, and yet that color doesn't change when the parent element's "color" CSS property is updated via script. The testcase works if either of those is true:
1. "color" on <linearGradient> is set statically
2. the <stop> elements have their "stop-color" property set to "currentColor" via the inline "style" attribute instead of a CSS rule.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list