Closed Bug 1646336 Opened 3 months ago Closed 3 months ago

Don't unnecessarily lose precision on some computed value getters.

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

No description provided.

We're converting to nscoord in some places unnecessarily, reducing the
precision of the computed value we return.

This makes some tests unnecessarily fail if we change the base of
nscoord.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2011f0091ccf
Don't unnecessarily lose precision in nsComputedDOMStyle. r=hiro
Attachment #9157278 - Attachment description: Bug 1646336 - Don't unnecessarily lose precision in nsComputedDOMStyle. r=#style → Bug 1646336 - Don't unnecessarily lose precision in nsComputedDOMStyle. r=hiro
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2069d33fce03
Don't unnecessarily lose precision in nsComputedDOMStyle. r=hiro
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.