Ben Curtis wrote:
I haven't seen this documented anywhere. Do you have links? These preferences effectively set a floor below which no value may be inherited, radically changing the intent of the preference setting.
Haven't found any documentation, and all articles about 'how to define font-sizes on the web' seems to simply ignore this browser-option. I've just started my "minor investigation", and do all my testing off-line, so I have nothing to show at the moment. Your test page:
http://www.bivia.com/sandbox/demo/minimum-font-size-inheritance.html
...is a good extreme-demo for how it works. For more complex 'real-life' cases it's actually Safari that gives me some problems. Safari's method doesn't seem to be consistent. More testing needed. A typical layout I'm testing on is here: <http://www.gunlaug.no/contents/molly_1.html> but I haven't put a test-stylesheet behind it on line. It can take some 'min font size' as is, since I've always used a "normalized" (100% = 16px) font-size on body. Should mention that I always test my designs up to 'minimum font size = 28px' in Opera, so they are somewhat prepared. Safari breaks minor parts of it slightly with a 'min font size' above 16px, while Opera and Firefox just enforce the font-size and keep the layout intact. --- You have exemplified one way to get consistent font-size handling, by sizing down along the inheritance-line. Should work as intended, but might give us some practical problems if we change font-families along the line and want to compensate for 'visual size'. Another way is to use pixels and avoid inheritance altogether, and feed IE/win its own _relative_ values. I haven't done that yet, but I don't see any problems here since I'm already using a 'conditional commented' stylesheet for IE/win. Should work consistently across browser-land. regards Georg -- http://www.gunlaug.no ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
