[css-images-4][css-overflow-3] How do object-overflow
and object-view-box
interact with overflow
and overflow-clip-margin
? · Issue #7144 · w3c/csswg-drafts (original) (raw)
In #7058 the properties object-overflow and object-view-box where introduced, which define whether and how content of replaced elements overflows its content box.
On the other hand we have overflow, overflow-x, overflow-y and overflow-clip-margin, which apply to all elements (including replaced elements) and define how overflow on them is handled and whether they can paint outside their bounds.
As I understand it, object-view-box
only defines the size of the canvas an image or object is painted in but doesn't have any effect on painting outside its content box.
Though object-overflow
's effect seems to overlap with the effects of overflow: clip
/overflow: visible
and overflow-clip-margin
.
So I am wondering how those properties actually play together and if the functionality of the new object-*
properties might not be covered by the overflow-*
properties.
Sebastian