Closed Bug 299374 Opened 19 years ago Closed 17 years ago

don`t true class view

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: seq, Unassigned)

References

()

Details

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

In table used class "Down" (font size = 11px).
I see minimum 12pt. (pt - no px)

Reproducible: Always
in table (http://www.smida.gov.ua/~seq/) used style "Down" (font size this style
= 11px) i see 16px
This is not a mozilla related problem.

In your Style.css you define tr.Down as:

tr.Down{
                background: url(bg.gif);
                font: 11px;
                font-family: Verdana;
                color: #006ACA;
        }

font is not the correct property to set the font size.

Use font-size :
        tr.Down{
                background: url(bg.gif);
                font-size: 11px;
                font-family: Verdana;
                color: #006ACA;
        }

WFM with this change.

INVALID?
The CSS specs, for both revision 1 and 2, stipulate that when using the font property shorthand, both the size and family of the font are to be specified.

http://www.w3.org/TR/REC-CSS1#font
http://www.w3.org/TR/REC-CSS2/fonts.html#font-shorthand

Since Mozilla is just following the spec here, I'm resolving this as INVALID.

Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.