[css3-ui] applicability of 'resize' when one of overflow-x/-y is visible (issue 37)

Based on:

About the resize property, the css3-ui says this:

"The resize property applies to elements whose computed overflow value is something other than visible. If overflow is different in a particular axis (i.e. overflow-x vs. overflow-y), then this property applies to the dimension(s) which do not have the value visible."

However, the interoperable behaviour (checked Firefox, Chrome, Safari, Presto-Opera) is that if one of overflow-x and overflow-y is set to visible and the other is not, the one that is set to visible computes to auto. Which means that the situation described in the quoted paragrah never happens, and browsers always apply the ‘resize: both’ in both dimensions.

Note that the css-overflow spec does open the possibility of overflow-x (or -y) being visible while the other is one of the fragmenting values, but this is a very unstable section of the spec, implemented nowhere, and in that case, we may ‘resize’ to apply to neither dimensions (since there is no hidden content to reveal).

I suggest we remove the paragraph, and maybe add a note saying: “It is not currently possible for overflow-x and overflow-y to compute to visible in only one of the two dimensions. If later specifications introduce a new features making that situation possible, these specifications will need to define the behaviour of the resize property in that case."

 - Florian

Received on Monday, 24 November 2014 16:06:02 UTC