W3C home > Mailing lists > Public > www-style@w3.org > September 2015

Re: [css-ui] resize on replaced elements

From: Florian Rivoal <florian@rivoal.net>
Date: Mon, 31 Aug 2015 13:14:35 +0900
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <4BA64698-4B09-4FF4-9D23-E0E251968C2B@rivoal.net>
To: fantasai <fantasai.lists@inkedblade.net>
> On 31 Aug 2015, at 04:09, fantasai <fantasai.lists@inkedblade.net> wrote:
> Would it be possible to extend the 'resize' property to apply to
> replaced elements? It'd be very useful on <iframe>s (and probably
> also on other things like videos and images).

Currently, it does not apply because resize only applies to element with overflow other than visible, but the overflow property does not apply to replaced elements.

Assuming it is web compatible, I'd be in favor of allowing it on iframes, videos, and images, as they handle being resized quite well. However, I am less sure about for controls such as buttons and the like, which are also replaced elements unless I am mistaken, but deal less well with being resized, especially to a smaller size.

Then again, even when resized too small, they do not overflow, so this does not interfere with the resizing UI. So maybe it's ok. I'd like to hear what others think.

 - Florian
Received on Wednesday, 2 September 2015 10:40:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:56 UTC