Closed
Bug 248228
Opened 21 years ago
Closed 21 years ago
1px font size doesn't change when increasing/decreasing text size
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ktwilight, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
first timer here. go easy on me ;)
when font-size is 1px, problem occurs when you increase/decrease text size.
1) the 1px text size doesn't change when increasing text size.
2) when decreasing text size, 1px swaps to a bigger font than the other texts.
does not happen to em and pt, afaik.
Reproducible: Always
Steps to Reproduce:
1. view site that has 1px font-size as their style
2. increase/decrease text size with mouse wheel or CTRL +/-
3. voila ;)
Actual Results:
1) increasing text size -> 1px text size doesn't change at all
2) decreasing text size -> 1px text size grows bigger
Comment 1•21 years ago
|
||
I doubt very many people can tell the difference between 1px at 100% and 1px at
150%. I tried this in 1.7 with view other %. 2000% seems to reach 20px, so
clearly zoom + is working. Ctrl-- seems to leave the 1px text unchanged. If
that's a bug, I doubt it's one worth "fixing".
FWIW, pixel size fonts in Gecko are actually a range. e.g., anything between
15.50px and 16.49px will render at the same size. My guess is that when e.g.
120% is applied to 1px, that the resulting 1.2px is simply rendered at the same
size because of falling into the original 1.0px range.
Comment 2•21 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041018 Firefox/1.0
->WFM
tested
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css"></script>
</head>
<body>
<p style="font-size:1px">p tag</p><br>
<span style="font-size:1px">span tag</span>
</body>
</html>
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•