Re: [css3-fonts] Addition of font-size: xxx-large

On Wed, Apr 18, 2012 at 1:46 AM, Aryeh Gregor <ayg@aryeh.name> wrote:
>
> On Wed, Apr 18, 2012 at 11:18 AM, Christoph Päper
> <christoph.paeper@crissov.de> wrote:
> > Aryeh Gregor:
> >
> >> There is no CSS equivalent to <font size=7> …
> >
> >  h6  1   xx-small    0.6rem              9.6px =  7.2pt
> >           x-small    0.75rem            12px   =  9pt
> >  h5  2      small    0.89rem            14.2px = 10.7pt
> >  h4  3      medium   1rem               16px   = 12pt
> >  h3  4      large    1.2rem             19.2px = 14.4pt
> >  h2  5    x-large    1.5rem             24px   = 18pt
> >  h1  6   xx-large    2rem               32px   = 24pt
> >      7  xxx-large    3rem               48px   = 36pt
>

Only if the mapping was that simple...

http://trac.webkit.org/browser/trunk/Source/WebCore/css/CSSStyleSelector.cpp?rev=113922#L4920

- Ryosuke

Received on Wednesday, 18 April 2012 15:43:27 UTC