Closed Bug 395155 Opened 18 years ago Closed 18 years ago

Changing CSS text inside <svg:style> has no effect

Categories

(Core :: SVG, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: longsonr)

References

Details

(Keywords: testcase)

Attachments

(2 files)

Attached image testcase 2
Changing the CSS text inside <svg:style> fails to update the document's rendering.
Assignee: nobody → longsonr
Attached patch patchSplinter Review
Attachment #279890 - Flags: review?(tor)
OS: Mac OS X → All
Hardware: PC → All
Attachment #279890 - Flags: review?(tor) → review+
Attachment #279890 - Flags: superreview?(roc)
+ if (nsContentUtils::IsInSameAnonymousTree(this, aContent)) { + UpdateStyleSheetInternal(nsnull); + } This is just an optimization, right? Why do you think it's worth having?
It comes from bug 383137. I don't know if you can do the same in SVG but it seemed safer just to do the same thing too just in case.
Attachment #279890 - Flags: superreview?(roc) → superreview+
Ugh, that is not M8 approval, just general approval, so don't check in until the freeze is over.
checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: