Closed Bug 258532 Opened 21 years ago Closed 21 years ago

Font property not taken in account when containing only one element

Categories

(Core :: Layout: Text and Fonts, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: circee, Unassigned)

Details

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
Closed: 21 years ago
Resolution: --- → INVALID
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.