W3C home > Mailing lists > Public > www-style@w3.org > July 1999

Re: Resizability

From: western <western@westciv.com>
Date: Tue, 27 Jul 1999 18:26:55 -0400 (EDT)
Message-Id: <199907272226.IAA09463@warp.ipacific.net.au>
To: "'www-style@w3.org'" <www-style@w3.org>
Tantek,

>Since you asked specifically about defining resizability of blocks, here are
>a few brief words on the "resizer" property which is part of that draft:
>
>'resizer'
> Values:  auto | both | horizontal | vertical | none | inherit
> Initial: auto
> Applies to: all elements
> Inherited: no
> Percentages: n/a
> Media: interactive

I wonder if this isn't a little limiting. In application frameworks, 
window items can usually be resized by side. This gives rise to a great 
many possible resize options for an object as a whole. I haven't thought 
through the syntax through at all, but the basic principle is that for 
each side you can have one of 4 resize optionms

1) side is fixed while parent is resized
2) side stays centred while parent is resized
3) size moves while parent is resized
4) size moves proportionally while parent is resized.

using these 4, essentially an element can be made to grow in any way 
desirable.

perhaps something like this for the syntax

Since you asked specifically about defining resizability of blocks, here 
are
a few brief words on the "resizer" property which is part of that draft:

'resize-top'
 Values:  auto | fixed | centred | direct | proportional | imherit
 Initial: auto
 Applies to: all elements
 Inherited: no
 Percentages: n/a
 Media: interactive

and so on for resize-left, etc.

Perhaps also a shorthand of resize, which takes 1-4 values corresponding 
in the usual way to the top, left, bottom and right edges.

Just a thought,

John

John Allsopp

  ___ p a l i m p s e s t ___        _____s t y l e  m a s t e r____
 turn information into knowledge      master cascading style sheets
            http://www.westciv.com info@westciv.com
Received on Wednesday, 28 July 1999 05:17:06 GMT

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