[Webkit-unassigned] [Bug 13139] Font not inherited when font-family does not match a font.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 21 00:43:36 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13139





------- Comment #13 from esprehn at gmail.com  2007-03-21 00:43 PDT -------
Created an attachment (id=13733)
 --> (http://bugs.webkit.org/attachment.cgi?id=13733&action=view)
Special Font Handling Test Case

View in Opera or IE7 to see special case font handling for the <pre> element.

Odd behavior in Gecko though, it appears that by adding to the font-family
(body here) on the parent element something besides a generic family that the
parent style is ignored when the font-family on the child doesn't match. That
is:

body { font-family: fantasy, sans-serif; }
.child { font-family: foo-bar; } 

actually gets you "serif" which is the browser default. However:

body { font-family: monospace; }
.child { font-family: foo-bar; } 

Gets .child to be "monospace" which seems like an odd way to handle this.

The more I look into this the more complicated the "logic" behind what the
browsers are really doing gets...


-- 
Configure bugmail: http://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