Closed Bug 293004 Opened 20 years ago Closed 20 years ago

SVG elements within an <a> element are not rendered (in latest Firefox builds)

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: steffanc, Assigned: tor)

Details

Attachments

(2 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050504 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050504 Firefox/1.0+

The contents of any <a> element in an SVG page are not rendered by the latest
Windows Firefox builds.  I do not know when the problem started, but the SVG
project page says that the <a> element is supported.

I suspect that the problem could be that svgBindings.xml is not being included
by the build process.

Reproducible: Always

Steps to Reproduce:
1. Create SVG page containing content within an <a> element
2. Load page in Firefox

Actual Results:  
Content within <a> element is not displayed

Expected Results:  
Content within <a> element should be displayed
(In reply to comment #1)
> Created an attachment (id=182672) [edit]
> Testcase - should display 3 rectangles, but blue is not displayed

wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050428 Firefox/1.0+

wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050504 Firefox/1.0+

Windows Explorer->Properties->product version: 1.8b2: 2005050415
(In reply to comment #3)
> Windows Explorer->Properties->product version: 1.8b2: 2005050415

I am using the same version, installed from the .exe installer on ftp.mozilla.org.
Only non-default option in installing it was to put it in a different directory
(as I also have 1.03 installed).
I haven't previously installed any nightlies.
Attached patch include svg.jar in packages (obsolete) — Splinter Review
Assignee: general → tor
Status: UNCONFIRMED → ASSIGNED
Attachment #182722 - Flags: review?(benjamin)
Attachment #182722 - Flags: approval1.8b2?
Comment on attachment 182722 [details] [diff] [review]
include svg.jar in packages

a=chofmann
Attachment #182722 - Flags: approval1.8b2? → approval1.8b2+
Comment on attachment 182722 [details] [diff] [review]
include svg.jar in packages

This isn't enough... you need to register the chrome://content/svg/ package
also, probably around here:
http://lxr.mozilla.org/mozilla/source/browser/installer/windows/browser.jst#544

Is there any particularly good reason why we're creating a new chrome JAR and
package, instead of shipping this file at chrome://global/content/svg/ or
somesuch? I would definitely prefer that solution.
Attachment #182722 - Flags: review?(benjamin)
Attachment #182722 - Flags: review-
Attachment #182722 - Flags: approval1.8b2+
Attachment #182722 - Attachment is obsolete: true
Attachment #182727 - Flags: review?(benjamin)
Comment on attachment 182727 [details] [diff] [review]
include svgBindings.xml in toolkit.jar

Instead of (../../layout) use (/layout)
Attachment #182727 - Flags: review?(benjamin)
Attachment #182727 - Flags: review+
Attachment #182727 - Flags: approval1.8b2+
Attachment #182727 - Attachment is obsolete: true
Attachment #182732 - Flags: review?(benjamin)
Flags: blocking1.8b2+
Attachment #182732 - Flags: review?(benjamin)
Attachment #182732 - Flags: review+
Attachment #182732 - Flags: approval1.8b2+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 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: