This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html Section: http://www.whatwg.org/specs/web-apps/current-work/#fonts-and-colors Comment: 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: 68.175.61.233 User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.28 (KHTML, like Gecko) Chrome/12.0.725.0 Safari/534.28
For reference: <http://mxr.mozilla.org/mozilla-central/source/layout/style/nsStyleUtil.cpp#95>
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.
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: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Partially Accepted Change Description: see diff given below Rationale: I've defined xxx-large better. The others still just reference CSS.
Checked in as WHATWG revision r6299. Check-in comment: Be clearer about xxx-large. http://html5.org/tools/web-apps-tracker?from=6298&to=6299
mass-move component to LC1