The default bug view has changed. See this FAQ.

"font-size: 0.4px" seems be ignored

NEW
Unassigned

Status

Core Graveyard
GFX
P3
normal
14 years ago
6 years ago

People

(Reporter: Henrik Gemal, Unassigned)

Tracking

({css1, helpwanted, pp})

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

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments, 1 obsolete attachment)

(Reporter)

Description

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

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

20030105
(Reporter)

Comment 1

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

Comment 3

14 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?
(Reporter)

Comment 5

14 years ago
set to "none"

Comment 6

14 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,
etc. 
Platform:  Mozilla 1.2.1 on Windows 2000.

Comment 7

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

Comment 8

14 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 ....
weird.
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

Updated

14 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

12 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

6 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.