[Webkit-unassigned] [Bug 20181] font shorthand with inherit keyword incorrectly parsed and rendered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 28 10:59:53 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20181





------- Comment #2 from browserbugs at gtalbot.org  2008-07-28 10:59 PDT -------
[ [ <'font-style'> || <'font-variant'> || <'font-weight'> ]? <'font-size'> [ /
<'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box |
small-caption | status-bar | inherit

"A bar (|) separates two or more alternatives: exactly one of them must occur."

http://www.w3.org/TR/CSS21/about.html#value-defs

Worth noting is that "System fonts may only be set as a whole; that is, the
font family, size, weight, style, etc. are all set at the same time."
The same should have been said about inherit to avoid possible confusion, to be
explicit.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list