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

On Mon, Apr 16, 2012 at 3:43 AM, Aryeh Gregor <ayg@aryeh.name> wrote:
> CSS 3 Fonts, like CSS 2.1, defines <absolute-size>s ranging from
> xx-small to xx-large.  The legacy HTML <font size=1> corresponds to
> xx-small, 2 is small (skipping x-small), and 3-6 are medium to
> xx-large.  There is no CSS equivalent to <font size=7> -- 3rem is
> different because it varies if you change the root element's font
> size.  I would like to request that a "font-size: xxx-large" value be
> defined, corresponding to <font size=7> (scaling factor of 3).
>
> WebKit already supports "font-size: -webkit-xxx-large".  Both HTML5
> and HTML Editing APIs refer to a nonexistent CSS value of "xxx-large":
>
> "The 'xxx-large' value is a non-CSS value used here to indicate a font
> size 50% larger than 'xx-large'."
> http://dev.w3.org/html5/spec/rendering.html#phrasing-content-1

+1

The font-size keyword names are kinda silly, but there's no good
reason to continue differing from what <font> offered a long time ago,
and what editing APIs now offer.

~TJ

Received on Monday, 16 April 2012 14:46:53 UTC