SVG does not render using correct xml namespace




18 years ago
5 years ago


(Reporter: drbrain-bugzilla, Assigned: dean.jackson)


Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)




(2 attachments)



18 years ago
When using the SVG namespace ( SVG will not render, 
but when using Mozilla's SVG namespace 
( SVG will render 
on an SVG-enabled build.

The file (line) to be modified may be

Will post a testcase when I get the time to write one.

Comment 1

18 years ago

Comment 2

18 years ago

Comment 3

18 years ago
Expected results:
In the first attachment (SVG using W3C namespace) a black 10px by 10px box
should render in a blue border.  In the second attachment (SVG using
namespace) a collapsed blue border should render (and nothing else).

Actual results:
The first attachment renders as a collapsed blue border and the second renders
as a 10px by 10px black box in a blue border.

Comment 4

18 years ago
The namespace stuff is fixed as part of bug 80142 (which will hopefully be
checked in in the next few days), but the testcases don't work anyway - I just
get a white box with a blue border for both of them. I'll look into this...
Depends on: 80142

Comment 5

18 years ago
actually, the reason you don't see anything is because you haven't specified a
fill, and the stylesheet you've referenced isn't findable from within bugzilla.
If I add style="fill: black" to the <polygon> then I see the box in the upper
left corner (with the patches)

The invalid namespace also works, but will probably be pulled out at some point
soon - its just there for backwards compatability.

Comment 6

18 years ago
Sorry, I forgot to mention that this was for Mozilla 0.8.1, the newest SVG build
I have access to. (Build ID: 2001032722)

Comment 7

18 years ago
Right - its not checked in yet. Hopefully it will be by 0.9.1.

Comment 8

18 years ago
this is fixed no?

Comment 9

18 years ago
Fixed by SVG merge.
Last Resolved: 18 years ago
Resolution: --- → FIXED
in-testsuite- since this will be covered by most other SVG tests.
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.