Description
css-overflow-3 states rules for determining the computed value of the overflow
property that depend on whether something is a replaced element:
On non-replaced elements, the visible/clip values of overflow compute to auto/hidden (respectively) if one of overflow-x or overflow-y is neither visible nor clip.
On replaced elements, all values other than visible compute to clip.
I didn't think computed values could depend on whether something is a replaced element; I don't think that's known at value computation time (e.g., for <object>
).
If that's the case, I'd suggest that the non-replaced rule above apply to all elements, and then the replaced rule be handled at used value time. (This is a behavior change in the behavior of combinations of visible
on one axis with a value other than visible
or clip
on the other axis. However, I suspect that behavior matches implementations today (at least Gecko's), in so far as the difference in behavior on replaced elements is observable.)
(Noticed while trying to write edits for #6212.)