WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 54800
38102
Wrong handling of currentColor on inherit
https://bugs.webkit.org/show_bug.cgi?id=38102
Summary
Wrong handling of currentColor on inherit
Dirk Schulze
Reported
2010-04-25 23:15:47 PDT
The SVG in the link has following example: <g fill="currentColor" color="red"> <rect x="120" y="60" width="150" height="150" color="blue"/> </g> Our current implementation inherits the 'fill' property of the <g> element: 'currentColor'. Our PaintServer see the value 'currentColor' for 'fill' on drawing the rect. It takes the value in 'color' of the rect, instead of the <g> element. This is not the expected behavior. The relevant code is here:
http://trac.webkit.org/browser/trunk/WebCore/rendering/RenderSVGResource.cpp#L97
The same issue for stroke.
Attachments
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2010-07-08 10:39:30 PDT
***
Bug 41848
has been marked as a duplicate of this bug. ***
Nikolas Zimmermann
Comment 2
2011-03-01 00:35:21 PST
*** This bug has been marked as a duplicate of
bug 54800
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug