Closed Bug 1395439 Opened 5 years ago Closed 5 years ago

Clean out useless flags to reuse cache FillGeometry in nsSVGUtils::GetBBox

Categories

(Core :: SVG, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: u459114, Assigned: u459114)

Details

Attachments

(1 file)

We add several extra flags to return different bbox for specific frame types under specific conditions.

For example, eUseFrameBoundsForOuterSVG was created for computing mask-area/filter-region of outer-svg frames.
eIncludeOnlyCurrentFrameForNonSVGElement was used for computing bbox of an HTML elment with decoration-break:clone css attbute.

All this new added flags prevent us using cached ObjectBoundingBoxProperty.
Attachment #8903032 - Flags: review?(longsonr)
Comment on attachment 8903032 [details]
Bug 1395439 - Clean out useless flags to reuse cache FillGeometry in nsSVGUtils::GetBBox.

https://reviewboard.mozilla.org/r/174808/#review180204
Attachment #8903032 - Flags: review?(longsonr) → review+
Pushed by cku@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aa111604eaa3
Clean out useless flags to reuse cache FillGeometry in nsSVGUtils::GetBBox. r=longsonr+218550
https://hg.mozilla.org/mozilla-central/rev/aa111604eaa3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.