W3C home > Mailing lists > Public > www-style@w3.org > April 2012

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

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Wed, 18 Apr 2012 08:42:16 -0700
Message-ID: <CABNRm61axa+GH63GG8C0-nDRVnnKHP5n8ZcfGu-=StTBsQeLOw@mail.gmail.com>
To: Aryeh Gregor <ayg@aryeh.name>
Cc: John Daggett <jdaggett@mozilla.com>, Christoph Päper <christoph.paeper@crissov.de>, "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>, WWW Style <www-style@w3.org>, Ehsan Akhgari <ehsan@mozilla.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT