W3C home > Mailing lists > Public > www-style@w3.org > November 2005

Proposed Change to CSS3 Module: Fonts, <absolute-size> Subsection

From: Felix Miata <mrmazda@ij.net>
Date: Thu, 10 Nov 2005 00:34:11 -0500
Message-ID: <4372DBD3.2188@ij.net>
To: www-style@w3.org

Just today in private email, Eric Meyer wrote this reiteration of words
I've seen many times in various web design forums:

"Use [<absolute-size>], and end up with unpredictable results in terms
of the final rendering".

The same places I've seen the complaint of <absolute-size>
unpredictability I've at least as often seen the complaint that the
delta between the smaller sizes is too large, making too much of a jump
between sizes, particularly the smaller ones.
https://bugzilla.mozilla.org/show_bug.cgi?id=111879 is one alternate
proposal for Gecko to deal with this issue that provides additional
complaint detail.

Earlier in the same email from Meyer, he reiterated something else I've
seen him write elsewhere:

"Font sizing on the web is one of the few guaranteed no-win situations
in web design."

In the interest of reducing these font styling complaints and improving
the likelihood of a "win" situation, I've drafted a rewrite of portions
of the <absolute-size> section of "CSS3 module: fonts", taken from the
working draft at http://www.w3.org/TR/css3-fonts/#font-size-props and
currently incarnated in expanded discussion form at
http://members.ij.net/mrmazda/css/W3C/css3-34discuss.html with proposed
actual language link therein to
http://members.ij.net/mrmazda/css/W3C/css3-34new.html .

It seems that the current section in 2.1 and its predecessors was
derived largely from Todd Fahrner's "Toward a standard font size
interval system" at
http://style.cleverchimp.com/font_size_intervals/altintervals.html . To
this day that page remains labeled as incomplete. I strained to find the
logic in the small size interval recommendations there, and the only one
I could come up with was a ratification of the old <font> size intervals
originally used by Netscape 4's predecessors. It claims to propose
harmonization, but I could find nothing harmonizing about a
recommendation to progressively shrink the steps from the smallest sizes
until reaching medium, and then progressively increase them as sizes
increased further.

My proposed changes essentially are three:

1-progressively, as much as possible within the limits of font size
availability to browser rendering engines, increase the delta between
sizes all the way from smallest to largest;
2-compress the deltas at the smaller sizes;
3-at the smaller default sizes replace wide deltas between small &
medium and smaller deltas between x-small and small and 1px or 0 deltas
between xx-small and x-small with more even deltas between each of those
sizes.

I created a Mozilla bug
https://bugzilla.mozilla.org/show_bug.cgi?id=187256 that would implement
this proposal in Gecko. Prior to submitting patches to that bug I
compiled Mozilla myself using them and tested the impact. The bug has
several screenshots of the test results, plus discussion from various
interested parties.

I'm not a programmer. I was able to make the patch because making the
proposed changes involves changing only data tables within the source
code that implement in Gecko the 2.1 version of this spec section.

During my last look yesterday at the current behaviors of the major
browsers, I observed that Opera 8.5 and Konqueror 3.4.0 already deviate
from the 2.1 spec in a manner somewhat similar to the changes I've
proposed. My css3-34discuss.html page includes links to live pages that
show each of the <absolute-size> sizes specified both as px, pt, and
keywords for each of the major browser engines for the indicated default
sizes. Evaluation of those links provide most of the basis for the
detailed browser data in that page.

Noteworthy is that IE6 fails to floor any size at the screen media
intelligibility minimum of 9px, and can render xx-small as small as 6px,
and x-small as small as 8px.

A very brief capsule summary of the proposal is Note 3 on
http://members.ij.net/mrmazda/css/W3C/css3-34new.html .
-- 
"I can do all things through Him who gives me strength."
                                                Philippians 4:13 NIV

 Team OS/2 ** Reg. Linux User #211409 ** My Spell Checker is Me

Felix Miata  ***  http://members.ij.net/mrmazda/auth/
Received on Thursday, 10 November 2005 05:58:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:41 GMT