-
Notifications
You must be signed in to change notification settings - Fork 756
Closed
Description
From #2000 (comment). overflow is a shorthand property of overflow-x and overflow-y, but it can only set them to the same value. It would be more convenient if the syntax was
[ visible | hidden | clip | scroll | auto ]{1,2}
The two values specify the behavior in the horizontal and vertical direction, respectively. If only one value is specified, the second value defaults to the same value. For example,
overflow: hidden auto; /* overflow-x: hidden; overflow-y: auto */Then if #1282 introduces a flow-relative syntax for shorthands, it could apply to overflow, e.g.
overflow: hidden auto !relative; /* overflow-inline: hidden; overflow-block: auto */js-choi, jonjohnjohnson, patrickdark, vincerubinetti, VladimirHumeniuk and 1 more