Closed
Bug 395155
Opened 18 years ago
Closed 18 years ago
Changing CSS text inside <svg:style> has no effect
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: longsonr)
References
Details
(Keywords: testcase)
Attachments
(2 files)
|
343 bytes,
image/svg+xml
|
Details | |
|
14.70 KB,
patch
|
tor
:
review+
roc
:
superreview+
roc
:
approval1.9+
|
Details | Diff | Splinter Review |
Changing the CSS text inside <svg:style> fails to update the document's rendering.
| Assignee | ||
Comment 1•18 years ago
|
||
c.f. bug 367612 and bug 383137
| Assignee | ||
Updated•18 years ago
|
Assignee: nobody → longsonr
| Assignee | ||
Comment 2•18 years ago
|
||
Attachment #279890 -
Flags: review?(tor)
| Assignee | ||
Updated•18 years ago
|
OS: Mac OS X → All
Hardware: PC → All
Attachment #279890 -
Flags: review?(tor) → review+
| Assignee | ||
Updated•18 years ago
|
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?
| Assignee | ||
Comment 4•18 years ago
|
||
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+
Attachment #279890 -
Flags: approval1.9+
Ugh, that is not M8 approval, just general approval, so don't check in until the freeze is over.
| Assignee | ||
Comment 6•18 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•18 years ago
|
||
Checked in reftests:
http://lxr.mozilla.org/seamonkey/source/layout/reftests/svg/text-style-01a.svg
http://lxr.mozilla.org/seamonkey/source/layout/reftests/svg/text-style-01b.svg
http://lxr.mozilla.org/seamonkey/source/layout/reftests/svg/text-style-01c.svg
http://lxr.mozilla.org/seamonkey/source/layout/reftests/svg/text-style-01d.svg
http://lxr.mozilla.org/seamonkey/source/layout/reftests/svg/text-style-01e.svg
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•