Bug 41848
Summary: | [SVG] g color property should overwrite rect color property | ||
---|---|---|---|
Product: | WebKit | Reporter: | Zoltan Herczeg <zherczeg> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | krit, zimmermann |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObject/color-prop-05-t.html |
Zoltan Herczeg
<g fill="currentColor" color="lime">
<rect x="0" y="0" width="150" height="150" color="red"/>
</g>
This should draw a green (lime) box, not a red one (Firefox do this).
LayoutTests/svg/W3C-SVG-1.1 does not contain color-prop-05-t.svg, only its expected value. No idea why.
Without the color property, it works:
<g fill="currentColor" color="lime">
<rect x="0" y="0" width="150" height="150"/>
</g>
Trying to fix this. Any suggestions are welcome.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dirk Schulze
*** This bug has been marked as a duplicate of bug 38102 ***