Closed Bug 119854 Opened 24 years ago Closed 23 years ago

xslt generated svg dont display

Categories

(Core :: SVG, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: tseng_mike, Assigned: alex)

References

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7+) Gecko/20011226 BuildID: 2001122603 Like the summary, test case below Reproducible: Always Steps to Reproduce: 1.use svg build 2.open testcase xml Actual Results: nothing displayed Expected Results: a rectangle box svg render
Attached file source xml
Attached file xslt source
The svg document gets created o.k., but for some reason the style doesn't feed through. If I try to set the style in a global stylesheet, e.g. by adding rect { fill:green; } to dist/res/svg.css, the style STILL doesn't feed through & the rect stays invisible. Maybe an XSLT bug?
Status: UNCONFIRMED → NEW
Ever confirmed: true
style will be fixed in bug 96647. Are you sure the right elements are created? XSLT does not go thru a content sink. I myself don't have a svg enabled build, so I can't really verify this. I recommend watching the above bug. This will be fixed soon, so it's worth holding your breath.
The right elements (and frames) are indeed created. Marking this a dependency of bug 96647 and holding my breath :-)
Depends on: 96647
Fixed by the patch for bug 96647. The testcase doesn't work on Mac, but that seems to be an SVG bug. I see a lot of "###!!! ASSERTION: Not implemented!: '0', file nsDrawingSurfaceMac.cpp, line 209".
Status: NEW → RESOLVED
Closed: 23 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: