Re: Dreams aloud

Actually the idea is deeper on second look:

width: 100px;
width: 50% (min:20px, max:100px);

Percentage is a function in fact and only percentage can be and make real
sense to be accompanied with
min/max constraints.

So  percentage value (as %% value also) is a function having one "main"
value and two optional constraints: min and max.

It is really has no sense to have e.g. { width:100px; min-width:40px;
max-width:120px } given at the same time.

The same apply to display attribute.
display: block
block here is a function - it could be accompanied with other specifications

display: block( overflow:... , position:..., etc ) - all parameters having
sense only in case of block.

Andrew Fedoniouk.

> It would be nice if instead of three separate attributes width, min-width,
> max-width we represent
> 'width' as an aggregate or structure:
> width: 100px; /* old style */
> width: 50% (min:20px, max:100px)
> This will solve independent cascading issues mentioned in my previous
> posting.
> The same approach could be used for 'display':
> display: block(position:float-left)
> display: block(position:absolute, top:10px, ... )
> display: inline;
> Just to avoid mutualy exclusive attribute values.
> That are only dreams of course.
> Andrew Fedoniouk.

Received on Monday, 28 June 2004 15:56:34 UTC