Closed Bug 1737277 Opened 3 years ago Closed 3 years ago

Allow incomplete rasterizations to be used by SVGImageFrame

Categories

(Core :: Graphics: ImageLib, defect, P3)

defect

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

Details

Attachments

(1 file)

We bail out early if an image hasn't finished rasterizing yet:

https://searchfox.org/mozilla-central/rev/2e3b0483e31abffe0b4374480a34c6d23f5186ea/layout/svg/SVGImageFrame.cpp#630

But in SVGImageFrame::PaintSVG, we allow incomplete images to be drawn. We should do the same here, as it mirrors our other image related display items.

In SVGImageFrame::PaintSVG, we may attempt to draw an incomplete image.
In that case it will draw what it can, and display more as we
invalidate. We should do the same on the ::CreateWebRenderCommands path.

Pushed by aosmond@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba194f73b75b
Allow incomplete rasterizations to be used by SVGImageFrame. r=tnikkel
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: