Closed Bug 1034495 Opened 11 years ago Closed 11 years ago

SVG basic shape with no explicit end tag do dangling ends

Categories

(Firefox :: Untriaged, defect)

30 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 886390

People

(Reporter: pgr, Unassigned)

References

Details

Attachments

(1 file)

Attached file foo2.html
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release) Build ID: 20140608211810 Steps to reproduce: - document with basic inline SVG - inject (innerHTML) a polyline and a circle - have the polyline use an etago (i.e: <polyline ... /> vs. <polyline...></polyline> Actual results: A misplaced explicit end tag is generated: it acts like if <circle> was in the polyline content model. <circle> does not show up. Same problem with Nightly - Works fine in Chrome Expected results: A circle and a triangle should be displayed
I think this is a dupe of bug 886390. jwatt, does that sound right?
Flags: needinfo?(jwatt)
Not so sure, folk. I would rather make the serializer be the culprit. "polyline" has element content, but the content model might allow emptyness [(O O) vs (O -) in iso 8879 jargon]... Tho, I may goof.
I'm not sure that it's a dupe, but it at least depends on bug 886390. hsivonen, can you take a look?
Depends on: 886390
Flags: needinfo?(jwatt) → needinfo?(hsivonen)
Even though the problem description differs, for practical purposes this is a duplicate of bug 886390.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(hsivonen)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: