Closed Bug 187889 Opened 22 years ago Closed 1 month ago

"font-size: 0.4px" seems be ignored

Categories

(Core Graveyard :: GFX, defect, P3)

x86
Windows XP
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE
Future

People

(Reporter: bugzilla, Unassigned)

Details

(Keywords: css1, helpwanted, platform-parity)

Attachments

(3 files, 1 obsolete file)

<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
Attached file testcase
-> Platform specific GFX (doesn't happen on all platforms, I don't think)
Assignee: dbaron → kmcclusk
Component: Style System → GFX Compositor
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?
set to "none"
Attached file second testcase (more examples) (obsolete) —
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.
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
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
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
Seems to be fixed in Firefox 4.
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: