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

Re: CSS3 UI "resize" property

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 12 May 2004 14:20:13 -0400
Message-ID: <40A26ADD.5050000@inkedblade.net>
To: www-style@w3.org

Boris Zbarsky wrote:

> I'm not sure how to reconcile the following two statements:
>    With regard to interactivity and the Document Object Model (DOM), the 
> resize
>    factor on an element lasts the lifetime of the element
>    however, if the 'resize' property itself is altered (e.g. via 
> pseudo-class
>    change or via DOM manipulation), then the resize factor is reset to 1.0.
> If a node is removed from the DOM tree (such that the document is no 
> longer one of its ancestors), does it still have a meaningful computed 
> style?  It would seem that it does not.  If so, then how is the second 
> statement to be interpreted in view of the first one?

The second statement says that if I dynamically set the 'resize' property
on the element, the factor gets changed to 1.0.

e.g.  "element.style.resize = both" (or whatever the syntax is) will set
       the resize factor to 1.0, even if the specified style was already
       "both" before and the element had been resized to 1.3.


Received on Wednesday, 12 May 2004 14:21:07 GMT

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