This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12468 - Harmonize the meaning of legacy font sizes with CSS 3 Fonts
Summary: Harmonize the meaning of legacy font sizes with CSS 3 Fonts
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
Depends on:
Reported: 2011-04-10 22:11 UTC by contributor
Modified: 2011-08-04 05:12 UTC (History)
6 users (show)

See Also:


Description contributor 2011-04-10 22:11:17 UTC

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?

Posted from:
User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.28 (KHTML, like Gecko) Chrome/12.0.725.0 Safari/534.28
Comment 2 Aryeh Gregor 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:

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.
Comment 3 Ian 'Hixie' Hickson 2011-07-14 23:30:52 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:

Status: Partially Accepted
Change Description: see diff given below
Rationale: I've defined xxx-large better. The others still just reference CSS.
Comment 4 contributor 2011-07-14 23:31:48 UTC
Checked in as WHATWG revision r6299.
Check-in comment: Be clearer about xxx-large.
Comment 5 Michael[tm] Smith 2011-08-04 05:12:35 UTC
mass-move component to LC1