https://issues.apache.org/bugzilla/show_bug.cgi?id=43564
Helder Magalhães <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.w3.org/TR/CSS2/f | |onts.html#font-family-prop Component|GVT |CSS Platform|Other |All Version|1.7 |1.8 OS/Version|other |All --- Comment #2 from Helder Magalhães <[email protected]> 2010-09-22 06:27:02 EDT --- (In reply to comment #0) > If an AWT or SVG font has a name that is the same as a generic font family, > such as "sans-serif", then using font-family="sans-serif" fails to select the > generic font family as it should. In this situation, font-family="'sans- > serif'" would need to be used to select the AWT/SVG font with the name "sans- > serif". Yup, relevant wording taken from the CSS 2.1 spec: «Font family names that /happen/ to be the same as a keyword value ('inherit', 'serif', 'sans-serif', 'monospace', 'fantasy', and 'cursive') must be quoted to prevent confusion with the keywords with the same names.» [1] [1] http://www.w3.org/TR/CSS2/fonts.html#font-family-prop -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
