Use mozilla::Length rather than nscoord to store font sizes.
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
This is the last usage of nscoord in nsStyleStruct (except for border / outline widths and such which round to device pixels).
This is relevant because I was poking to change AppUnitsPerCssPixel to return 64, but that causes some precision loss when computing EM units and such which is not necessary.
Assignee | ||
Comment 1•5 years ago
|
||
This avoids arbitrary precision loss when computing REM units and so on,
which is particularly important if we ever change the base of our app
units (but useful regardless).
Comment 4•5 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=306787700&repo=autoland
https://treeherder.mozilla.org/logviewer.html#?job_id=306787081&repo=autoland
https://treeherder.mozilla.org/logviewer.html#?job_id=306787095&repo=autoland
https://treeherder.mozilla.org/logviewer.html#?job_id=306788097&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/d3c62c6802c9
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7a13c7744245
https://hg.mozilla.org/mozilla-central/rev/b90a668d05e1
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Description
•