Closed Bug 641858 Opened 9 years ago Closed 9 years ago

SVG changing the fill gradient is not working for text element

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: chris.kde, Assigned: longsonr)

References

()

Details

Attachments

(2 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0

For a text element with a gradient, if you change it with a different gradient, the text is not repainted, it still displayed with the first gradient.

Reproducible: Always

Steps to Reproduce:
1. Set a fill gradient to a text element
2. Change this fill gradient by another gradient
Actual Results:  
The text element is not repaint

Expected Results:  
The text element must be repaint

Tested on Firefox 3.6 and 4rc1. It works fine on google chrome.
Attached file Test case
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → longsonr
Attached patch patch (obsolete) — Splinter Review
Attached patch patch with reftests (obsolete) — Splinter Review
Attachment #520516 - Attachment is obsolete: true
Attachment #520519 - Flags: review?(jwatt)
Attachment #520519 - Flags: review?(jwatt) → review+
Keywords: checkin-needed
backout strategy - backout patch.
Attachment #520519 - Attachment is obsolete: true
http://hg.mozilla.org/projects/cedar/rev/9de34ccb71ee
Keywords: checkin-needed
Whiteboard: fixed-in-cedar
Target Milestone: --- → mozilla2.2
http://hg.mozilla.org/mozilla-central/rev/9de34ccb71ee
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: fixed-in-cedar
Version: unspecified → Trunk
Depends on: 653481
You need to log in before you can comment on or make changes to this bug.