Closed Bug 458465 Opened 17 years ago Closed 17 years ago

FF does not support CSS condensing

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: wmeier, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729) an error is not reported in W3C validation for xhtml or CSS 2.1/3.0 error console reports an error in parsing font in the following statement #copy9{position:absolute;font:verdana, Arial, Helvetica, sans-serif bold;color:#000;} Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: i combined the font attributes into a single statement namely, font-style, font-weight. Expected Results: no error indicated wherein each font attribute was sperately defined
You have the syntax wrong. From: http://www.w3.org/TR/CSS21/fonts.html#font-shorthand Value: [ [ <'font-style'> || <'font-variant'> || <'font-weight'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar | inherit You'd have to list the font-weight first (not last, as in your code snippet), and you _have_ to specify the font-size. Your code snippet should look like this: font:bold 1em verdana, Arial, Helvetica, sans-serif
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
v.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.