Open Bug 1810811 Opened 2 years ago Updated 11 months ago

make the context-fill and context-stroke SVG paint values work in use content

Categories

(Core :: SVG, enhancement)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: longsonr, Assigned: longsonr)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file, 3 obsolete files)

Attached file call stack (obsolete) —
Call stack from the testcase
Attached file callstack from the testcase (obsolete) —
Attachment #9312653 - Attachment is obsolete: true
Attached patch non-functional patch (obsolete) — Splinter Review

So... looking a bit into how we paint svg, I don't think a new display item is needed? Doesn't overriding SVGUseFrame::PaintSVG and setting up the context there work? If not, why not?

Flags: needinfo?(emilio) → needinfo?(longsonr)
Keywords: dev-doc-needed

SVGUseFrame::PaintSVG would only be called in patterns because it would override SVGDisplayContainerFrame::PaintSVG and that already asserts

NS_ASSERTION(HasAnyStateBits(NS_FRAME_IS_NONDISPLAY) ||
PresContext()->Document()->IsSVGGlyphsDocument(),
"Only painting of non-display SVG should take this code path");

I don't think display list painting really touches containers any more at render time.

Flags: needinfo?(longsonr)
Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Attachment #9312661 - Attachment is obsolete: true
Attachment #9312661 - Attachment is patch: true
Attachment #9312652 - Attachment is obsolete: true
See Also: → 1881943
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: