Re: [media-queries] chicken-egg problem with font-based lengths

On 2012/08/20 11:39 (GMT+0200) Simon Sapin composed:

> A small note: you can use font-size: 16px instead of 12pt, they’re
> always the same in CSS.

That statement is misleading. Most modern browsers at default settings will 
render them the same, but most older ones will not, and Konqueror still holds 
true to making a pt display density dependent. This means if the DE is 
configured to accurately match display device density, a pt will in fact 
measure 1/72" at the device surface, regardless how many px it takes to 
render it. This is generally no longer possible in modern browsers. The other 
exception is the Geckos, which provide the mozmm unit. If you wish a 12pt 
font from a Gecko, you get it by specifying font-size: 4.2333mozmm instead of 
or following font-size: 12pt or 16px.

> http://dev.w3.org/csswg/css3-values/#lengths
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

Received on Monday, 20 August 2012 15:05:29 UTC