[Bug 25424] New: Font shorthand incorrectly passes validation when font family or font size is missing

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25424

            Bug ID: 25424
           Summary: Font shorthand incorrectly passes validation when font
                    family or font size is missing
           Product: CSSValidator
           Version: CSS Validator
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 3
          Assignee: dave.null@w3.org
          Reporter: jukka.k.korpela@kolumbus.fi
        QA Contact: www-validator-cvs@w3.org

Example:

h1 { font: 200% }

This incorrectly passes validation, even though font family value is missing.

A font short hand without font size, e.g.

font: Calibri

also passes validation. It should not, by the specifications (even though it
would be convenient to be able to write that way).

Even

font: italic

passes and is reported as follows:

Valid CSS information
a {
font : null;
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 23 April 2014 05:10:27 UTC