Back to main page
font-size-adjust rounding error in Firefox
If the font-size-adjust property is the same as the font's true aspect ratio, there should be no change in
size. So, for a single font, the default and adjusted sizes of the red box should be the same. Firefox seems
to have a rounding error when using smaller font sizes; sometimes the adjusted box is actually one or two pixels too
small (note Arial and Envy Code
R).
| Font |
Default size |
Adjusted size |
| Times New Roman |
bbbbbbbbb |
bbbbbbbbb |
| Arial |
bbbbbbbbb |
bbbbbbbbb |
| Envy Code R |
bbbbbbbbb |
bbbbbbbbb |
| Courier New |
bbbbbbbbb |
bbbbbbbbb |
| Font |
Default size |
Adjusted size |
| Times New Roman |
bbbbbbbbb |
bbbbbbbbb |
| Arial |
bbbbbbbbb |
bbbbbbbbb |
| Envy Code R |
bbbbbbbbb |
bbbbbbbbb |
| Courier New |
bbbbbbbbb |
bbbbbbbbb |
Default size:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
Adjusted size:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.