Re: [css3-page] interaction of 'fit' and 'overflow'

On Wednesday 2006-10-11 16:28 -0700, L. David Baron wrote:
> The interaction of the 'fit' property defined in [1] and the
> 'overflow' property of CSS2.1 is not clear.  Does the use of 'hidden'
> or 'slice' cause the image to be cropped independent of the value of
> 'overflow', or is the overflow visible by default and controlled by
> the 'overflow' property?  If the latter, then 'hidden' is a very bad
> choice of name.

I should add that I prefer that the overflowing content also be
hidden, although not strongly.  (I strongly prefer it as the default
value.  However, making it the default makes it the only value, and
being able to have this control may be useful.)

I'd also note that the current value names do not make sense if the
'overflow' property is used to determine how to display the
overflowing content.  If this is the case, then the 'hidden' value
should be changed to 'none' (which I think it should be anyway [2])
and the 'slice' value should be changed to 'cover'.

-David

> [1] http://www.w3.org/TR/2006/WD-css3-page-20061010/#the-fit
[2] http://lists.w3.org/Archives/Public/www-style/2006Oct/0064

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Thursday, 12 October 2006 01:06:03 UTC