Closed Bug 1835622 Opened 11 months ago Closed 11 months ago

Perform length unit conversion in a single place

Categories

(Core :: SVG, task)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: longsonr, Assigned: longsonr)

Details

Attachments

(1 file, 1 obsolete file)

Unit conversion happens in

UserSpaceMetrics::ResolveAbsoluteUnit
SVGLength::GetUserUnitsPerUnit
SVGAnimatedLength::GetPixelsPerUnit

We should do all the conversion in one place and then if we want to add new units it's all much simpler.

Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Attachment #9337036 - Attachment is obsolete: true
Pushed by longsonr@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/e57010a0b90c
Perform length unit conversion in a single place r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40383 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: