Re: [css-ui] resize on replaced elements

On Sun, Aug 30, 2015 at 9:14 PM, Florian Rivoal <florian@rivoal.net> wrote:

> >
> > 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.


Do you have a simple test case page/document demonstrating how you'd like
to allow it on iframes, videos, and images?

I'm kind of curious if there are any "accidental" or "experimental"
implementations.


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.
>

Similarly, it wouldn't hurt if you added such cases to the same document to
see what would happen.



>
> 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.
>

In general I think it is worthy of consideration.

Resizing videos and images seems like fairly "obvious" useful use-case
(which is good), so there's at least that. And we could constrain this
functionality accordingly.

I'm having difficulty understanding how it could be a compat problem for
users to simply be able to resize more things than they could before.
Perhaps the presence of a "resizer" UI affordance could interfere with
activating an element etc.? Could you provide more specifics about how it
might not be web compatible?

Thanks,

Tantek

Received on Wednesday, 9 September 2015 23:18:47 UTC