"font-size: 0.4px" seems be ignored



Core Graveyard
15 years ago
7 years ago


(Reporter: Henrik Gemal, Unassigned)


({css1, helpwanted, pp})

Windows XP
css1, helpwanted, pp
Bug Flags:
blocking1.3b -

Firefox Tracking Flags

(Not tracked)



(3 attachments, 1 obsolete attachment)



15 years ago
.w1 {
	font-size: 0.4px;
<span class="w1">W</span>

seems to render the text W large...
In IE it's very small


Comment 1

15 years ago
Created attachment 110766 [details]
-> Platform specific GFX (doesn't happen on all platforms, I don't think)
Assignee: dbaron → kmcclusk
Component: Style System → GFX Compositor

Comment 3

15 years ago
The minimum size required to render an intelligible character is 8px.

All I see is a dot in 2003010512 OS/2 trunk.
do you have a minimal font size set in font prefs?

Comment 5

15 years ago
set to "none"

Comment 6

15 years ago
Created attachment 110786 [details]
second testcase (more examples)

This attachment checks a bundle of px size values. It looks as if all
fractional values are ignored a size of 1.5px is treated just like 0.5, 0.3,
Platform:  Mozilla 1.2.1 on Windows 2000.

Comment 7

15 years ago
Created attachment 110794 [details]
HTML testcase - all sub-legible px sizes are rendered as expected in this

Comment 8

15 years ago
Created attachment 110795 [details]
fixed example (replaces previous one)

Oops. Busted testcase. Please ignore previous comments. 

It looks as if pixel sizes less than ~0.4999999px cause the problems ....
Platform: MOzilla 1.2.1 on Windows 2000.
Attachment #110786 - Attachment is obsolete: true
worksforme on Linux (this morning's trunk nightly).  Looks like this is a
windows-specific problem (not a problem on Linux or OS/2).
Flags: blocking1.3b?
Keywords: pp


15 years ago
Priority: -- → P3
Target Milestone: --- → Future
Keywords: css1
Not a blocker, unless you can show some top site that we've regressed on.
Flags: blocking1.3b? → blocking1.3b-
If I recall the CSS1 (rev 1) spec correctly, decimal values can be "rounded" to
a value which the UA can display, a px refers to a pixel, which in all respects
is "sopposed" to be (of course correct me if I am wrong) the smallest
displayable point on a screen..

where if you round .4px it would be 0px, even if 1px was displayable (for a
letter) it would make sense that it would "dissapear" since I don't know anyone
who could even attempt to make it out.
Keywords: helpwanted

Comment 12

13 years ago
However, we are ignoring the declaration completely at the moment.
Assignee: kmcclusk → general
I don't think we are...
Dupe of Bug 53995 ?
Product: Core → Core Graveyard

Comment 15

7 years ago
Seems to be fixed in Firefox 4.
You need to log in before you can comment on or make changes to this bug.