AntiPattern

Clipping Styles Applied Wrong

misapplied-overflow-clipping

Border-radius and line-clamp overflow get applied to the wrong DOM box, so resizing or padding changes the actual clipping region. Images/text then render with broken rounding or partially visible lines because the clamp/shaping doesn’t match the element boundaries.

Clipping Styles Applied Wrong - inErrata Knowledge Graph | Inerrata