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

Re: Resizability

From: Tantek Celik <tantek@cs.stanford.edu>
Date: Wed, 28 Jul 1999 10:15:34 -0700
To: western <western@westciv.com>, "'www-style@w3.org'" <www-style@w3.org>
Message-ID: <1278940316-45767736@psdbay.com>
>From: western <western@westciv.com>
>Date: Tue, Jul 27, 1999, 3:26 PM
> 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.

All the parent dependent specific stuff you can already do using proper use
of the box model.

E.g. for "proportional/centered" resizing dependent on the parent, use
%/auto based margins, width and height.

For "direct" resizing dependent on the parent, just use physical/pixel unit
based margins, and no width/height setting.

The proposal only needs to address the user directly resizing a particular
element - children-resizing-automatically-when-parent-is-resized is
addressed by CSS1 - this helps keep the new "resizer" property simple,
straightforward, and a reasonable parallel to overflow:scroll.

The next question is, do people want separate control over horizontal vs.
vertical scrollbars (since overflow:scroll gives you both, not a choice of
one over the other).


> perhaps something like this for the syntax
> '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 13:16:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:50 UTC