Closed Bug 1169525 Opened 9 years ago Closed 9 years ago

add the on-demand SVG style sheets when a foreignObject is encountered within a single style update

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
In SVGDocument::EnsureNonSVGUserAgentStyleSheetsLoaded we add a bunch of style sheets to an SVG document when a foreignObject element is encountered.  We should do all of the EnsureOnDemandBuiltInUASheet calls within a single {Begin,End}Update call so that we don't create a new nsCSSRuleProcessor after we add each one.
Attachment #8612701 - Flags: review?(jwatt)
Summary: add the on-demand SVG style sheets when a foreignObject is encountered with a style update → add the on-demand SVG style sheets when a foreignObject is encountered within a single style update
Blocks: 77999
Attachment #8612701 - Flags: review?(jwatt) → review+
https://hg.mozilla.org/mozilla-central/rev/0f16ee136b51
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: