W3C home > Mailing lists > Public > www-style@w3.org > May 2004

Re: where is overflow:none ?

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Mon, 17 May 2004 11:09:52 -0700
Message-ID: <000d01c43c3a$27240be0$1902000a@AFedoniouk>
To: "Joachim Noreiko" <jnoreiko@yahoo.com>, <www-style@w3.org>

Hi, Joachim,

I guess it is better to use 'intrinsic' value proposed by David Baron:

min-width: intrinsic;

Here http://www.w3.org/TR/CSS21/tables.html#auto-table-layout
width:auto; is used for the same purposes. Shall we update this place also?

Boris Zbarsky told me that no one value of overflow attribute should change
dimensions of a box.
Per initial design of box model.

Therefore min-width, min-height:intrinsic seems the only way.

=====================================================

Accessibility: If user will increase default font size in his/her UA then
intial overflow:visible can make document non-readable. As different
portions of the text will overlap each other.

=====================================================

overflow:none has a clear logical sense (for me): in no circumstances box
width or/and box height will be less than its content - read: will never
overflow.

Let's imagine that we have some method to compute effective box width in
UA's implementation:

int effective_width( element e, style s, ....)
{
    int ewidth = s.min_width;
    if( s.overflow == none )
         ewidth = max(s.min_width, e.minimum_content_width())
    if( s.width > ewidth )
         ewidth = s.width
     ....
}


Andrew Fedoniouk.
http://terrainformatica.com


>
>  --- Andrew Fedoniouk <news@terrainformatica.com>
> wrote: >
>
> >
> > But question still remains :
> > How to say using current or future CSS "I want this
> > paragraph to occupy
> > space as much as needed to show its content in
> > full"?
> >
>
> Good question. But I don't think "none" is the right
> word for this. "force" or "expand" perhaps.
> But in which way would the paragraph expand? width,
> height, or both?
>
>
>
>
>
> ____________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now
> http://uk.messenger.yahoo.com/download/index.html
>
Received on Monday, 17 May 2004 14:09:59 GMT

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