Closed Bug 2090316 Opened 8 days ago Closed 7 days ago

Simplify clip-path url() bounding box computation.

Categories

(Core :: SVG, defect)

defect

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 external file)

No description provided.

In ComputeClipForMaskItem, we really want just the clip-path bounds.
This is what SVG frames get by default via the flags, but not what HTML
frames would get.

It doesn't matter much because you apply the clip path atop, but it's
better this way because it is simpler, and also because without the same
coordinates, the tests from bug 2090202 would be fuzzy even with
webrender rendering both.

The DoNotClipToBBoxOfContentInsideClipPath flag was only used from here,
so just remove it and don't pass a BBox to the clipPath frame.

Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ac7b5e4bc10b https://hg.mozilla.org/integration/autoland/rev/2c09e1585f8f Simplify clip-path url() bounding box computation. r=longsonr,firefox-svg-reviewers
Status: ASSIGNED → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: