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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 16 Apr 2012 07:45:55 -0700
Message-ID: <CAAWBYDCueBZAnDmDCEzFiayrNaRCANMZK0LXu9afFqYPXPGK+g@mail.gmail.com>
To: Aryeh Gregor <ayg@aryeh.name>
Cc: www-style@w3.org, Ehsan Akhgari <ehsan@mozilla.com>, Ryosuke Niwa <rniwa@webkit.org>
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


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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:14 UTC