Fragment identifiers confuse SVG/xlink relative URI processing

RESOLVED WORKSFORME

Status

()

Core
SVG
RESOLVED WORKSFORME
10 years ago
10 years ago

People

(Reporter: Sam Ruby, Unassigned)

Tracking

1.8 Branch
x86
All
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20060601 Firefox/2.0.0.2 (Ubuntu-edgy)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20060601 Firefox/2.0.0.2 (Ubuntu-edgy)

The URL listed above should render identically with or without the fragment identifier, but in fact if any fragment identifier is present, constructs such as fill="url(#pyBlue)" don't resolve.

Another example, this time using xlink, is provided in the "Steps to Reproduce" section.

Reproducible: Always

Steps to Reproduce:
1. Visit 
http://www.intertwingly.net/blog/2007/02/05/Show-Me#unknown

Actual Results:  
Only the outline of the image appears

Expected Results:  
To see the expected results, remove "#unknown" from the URI in step 1.  The image should be filled in with a radialGradient.

Comment 1

10 years ago
On OS X, I can reproduce this on the branch, but not on the trunk.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Version: unspecified → 2.0 Branch

Updated

10 years ago
Component: General → SVG
Product: Firefox → Core
Version: 2.0 Branch → 1.8 Branch
(Reporter)

Comment 2

10 years ago
Nor does the problem manifest itself on the 02-Mar-2007 version of firefox-3.0a3pre.en-US.linux-i686.tar.bz2.

As this bug is not a priority, it should summarily be closed.

Comment 3

10 years ago
(In reply to comment #2)
> 
> As this bug is not a priority, it should summarily be closed.

It would be nice to find out what fixed this, and see if it is low-risk enough to ship in an update to Firefox 2. (which is cut from the 1.8 branch)

Comment 4

10 years ago
marking in-testsuite?, as we still need to get this in reftest
Flags: in-testsuite?
This was fixed between the 2005-10-17 and 2005-10-19 builds:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2005-10-17+04&maxdate=2005-10-19+07&cvsroot=%2Fcvsroot
My guess is that this was fixed by 309020.

Updated

10 years ago
Depends on: 372391
Assignee: nobody → general
QA Contact: general → ian

Updated

10 years ago
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.