Closed
Bug 1135077
Opened 10 years ago
Closed 10 years ago
When using the HTML <base> element SVG <use>-xlink:href doesn't find document-local elements in defs or symbols anymore
Categories
(Firefox :: Untriaged, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 1121708
People
(Reporter: commander, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150125221831
Steps to reproduce:
I used an svg in an html document containing <defs> and <use> elements. The <use> elements href attribute referenced local ids in the <defs>. I had a <base> element in <head>.
Note: works in Chromium/Chrome
With <base> (broken):
http://graphicore.de/downloads/svg_dfs_bug/bad-defs.html
Without <base> (good):
http://graphicore.de/downloads/svg_dfs_bug/good-defs.html
Actual results:
The referenced elements did not display.
Removing <base> solved the problem.
Expected results:
The referenced elements should display.
Comment 1•10 years ago
|
||
Chrome is broken, it shouldn't work because a UA should take <base> into account.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•