Closed
Bug 171761
Opened 23 years ago
Closed 23 years ago
Pixel values are not rounded consistently
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 182670
People
(Reporter: vladimire, Assigned: jst)
Details
Attachments
(1 file)
|
522 bytes,
text/html
|
Details |
Getting computed value of min-height property set to pixels rounds to 1 decimal,
while getting the computed value of min-height property set to percentage rounds
to 4 decimals. See testcase attached.
| Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
I see the exact same rounding on both of those (to 4 decimals). The fact is,
those are "unrounded" values -- we just take the twips value layout has, convert
to pixels, and return whatever the conversion result is. If it looks like it's
rounded, someone in the guts of layout may be rounding (and all of layout rounds
to the nearest twip, of course).
Comment 3•23 years ago
|
||
*** This bug has been marked as a duplicate of 182670 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•