Skip to content

[css-overflow-3] Add box-edge values to overflow-clip-margin #5801

Closed
@fantasai

Description

@fantasai

There's a lot of confusion documented in this bug https://bugs.chromium.org/p/chromium/issues/detail?id=99364 about how border-radius affects clipping. (It curves its own box edges, but it doesn't cause an element with overflow: hidden to start clipping its descendants to its content edge instead of its padding edge.)

The use case could be easily handled by adding keywords like content-box/padding-box/border-box to the new overflow-clip-margin property, though. They would set the zero position of the offset to that edge.

CC @laukstein

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions