[webkit-dev] Your opinion on a CSS proposal

Windy Road tom at windyroad.org
Tue Jun 5 22:50:52 PDT 2007


On 06/06/07, David Hyatt <hyatt at apple.com> wrote:
> Except that the width of an element can depend on the font size.

And in those situations (say a floated element), specifying font-size:
auto would be invalid and should be ignored.

> Your idea is interesting, but it can't really be defined using font-
> size.  It's more of an "after-the-fact" adjiustment based off the
> calculated width of a block.

So let me rephase the question.  Do you think the effect I'm trying to
achieve should be specified via CSS or Javascript?  If the former, do
you have any suggestions on how?

Cheers,

-- 
Tom Howard
http://windyroad.org



More information about the webkit-dev mailing list