W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2011

[Bug 12468] This could be more precise for <font size=7>. CSS 3 Fonts says that the corresponding size is 3.0em, so why not say that here too?

From: <bugzilla@jessica.w3.org>
Date: Mon, 11 Apr 2011 18:11:48 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Q9LaW-0001Zv-VC@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12468

--- Comment #2 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2011-04-11 18:11:48 UTC ---
I later realized this isn't quite right.  3.0em would scale with the parent's
font-size, while this shouldn't.  It's not 3rem either, since that would scale
with the root element.  So this isn't achievable with CSS (sigh).  But you
could still note the ratios from the CSS 3 Fonts draft:

http://dev.w3.org/csswg/css3-fonts/#font-size-prop

3/5, 8/9, 1, 6/5, 3/2, 2, 3, where 1 is the user's font preference.  Then CSS
can reference HTML for this instead of repeating it.  Alternatively, HTML could
reference CSS.  But HTML shouldn't just not say how big they're supposed to be.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 11 April 2011 18:11:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:08 UTC