Closed Bug 413016 Opened 17 years ago Closed 16 years ago

"ASSERTION: SVG frame expected" with svg:after in SVG document

Categories

(Core :: SVG, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Assigned: longsonr)

References

Details

(Keywords: assertion, testcase, Whiteboard: [missed 1.9 checkin])

Attachments

(1 file, 1 obsolete file)

Attached image testcase
This is similar to bug 409461.  I think the main difference is that the <svg> element here is the document root rather than being inside an HTML document.
nsCSSFrameConstructor::ConstructDocElementFrame needs to not allow before/after content in the SVG case.
Attached patch patch (obsolete) — Splinter Review
FWIW,although there are other calls to ProcessChildren it doesn't look as if SVG content ought to be able to get there and if it does it should be patched in some other way, avoiding the code path altogether.
Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Attachment #297928 - Flags: superreview?(bzbarsky)
Attachment #297928 - Flags: review?(bzbarsky)
Attachment #297928 - Flags: superreview?(bzbarsky)
Attachment #297928 - Flags: superreview+
Attachment #297928 - Flags: review?(bzbarsky)
Attachment #297928 - Flags: review+
Attachment #297928 - Flags: approval1.9?
Attachment #297928 - Flags: approval1.9? → approval1.9+
Checked in, then backed out. Possibly caused problems on qm-mini-ubuntu05.
Was this bug the cause Robert? Should we re-request approval for it?
I could try checking it in again. It was one of 2 check ins at the time.
You could try it on the try server first: http://wiki.mozilla.org/Build:TryServer
Whiteboard: [missed 1.9 checkin]
Comment on attachment 297928 [details] [diff] [review]
patch

Removing approval since this missed the 1.9 cutoff.
Attachment #297928 - Flags: approval1.9+
Robert, time to land this on Hg?
IMHO it needs a green tree to land and a reasonable chance of not getting subsequent spurious oranges. Seems difficult currently. Feel free to land it if you wish and you get to it before I do but be prepared to back it out again if necessary.
This bug is now WFM, but I don't think longsonr's patch has been checked in...
Fixed by 473390 if not before.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Attachment #297928 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: