Font property not taken in account when containing only one element

VERIFIED INVALID

Status

()

--
enhancement
VERIFIED INVALID
14 years ago
14 years ago

People

(Reporter: circee, Unassigned)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3

The shorthand "Font" property will not be taken in account if it only contain
one property. While this is technically correct ("font" should always contain
more than one property), it'd be fine if it could read it even when it only
contain one.

Reproducible: Always
Steps to Reproduce:
1. set a "Font" with only one property

Actual Results:  
the property is ignored

Expected Results:  
The property should/could have been taken in account.
I assume you're talking about the CSS 'font' property.  CSS has very clear rules
about error handling.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → INVALID
(Reporter)

Comment 2

14 years ago
I'm probably wrong, but besides the CSS validator, I can't find anythigng in the
specs that says explicitely it is illegal to have a single property in a
shorthand one.
CSS2.1 Section 15.8 Value line.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.