Closed Bug 294211 Opened 20 years ago Closed 20 years ago

Absolute CSS properties do not override text zoom.

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED WONTFIX

People

(Reporter: cjdahlin, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

When a text element on a page is given an absolute size in css (font-size in pt,
px, in, etc) and a person increases text zoom, the text increases in size. W3c
seems to imply (this article alerted me to it:
http://www.w3.org/QA/Tips/font-size) that that text should not be able to be
magnified by text zoom if it is given an absolute text size. Only text with
sizes specified in percents or ems or other such relative units should be
modified by text zoom. This is particularly agonizing in intricate table work,
where the obligatory   in an empty table cell must often be kept very small
to avoid breaking the template.

Reproducible: Always

Steps to Reproduce:
1. Open any webpage using font sizes in pixels or points.
2. Press ctrl++. Repeat until the template breaks.

Actual Results:  
Text sizes for absolute fonts got larger.

Expected Results:  
Relative font sizes should have expanded, but the absolute font sizes should
have remained the same.
If authors hadn't abused absolute font sizes, we might have done it that way. 
It's far too late now.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.