Open Bug 1060856 Opened 11 years ago Updated 3 years ago

Avoid producing singular matrices in nsLayoutUtils::ComputeSnappedImageDrawingParameters

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

defect

Tracking

()

People

(Reporter: seth, Unassigned)

References

Details

We should fix issues 1 and 2 mentioned in bug 1053934 comment 19. (Pretty sure issue 3 can't happen.) Here's that comment again: The only possibilities I can see for producing a singular matrix in ComputeSnappedImageDrawingParameters are: 1. The final fill we use (|fill|) has zero size. 2. The final dest rect we use (|anchoredDestRect|) has zero size. 3. The current matrix on the gfxContext was already singular before we started. Presumably that's not possible, though. The first two possibilities would result in a matrix with all zeros, excluding the translation components.
Product: Core → Core Graveyard
Product: Core Graveyard → Core

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: seth.bugzilla → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.