Re: [csswg-drafts] [css-overflow-3] overflow-clip-margin + border-radius continuity adjustment (#5896)

> Where `overflow-clip-margin` defines a different edge than one of these, its rules clearly override.

I think the problem is that it's not clear to many people.  In particular, I think you're thinking of this in a manner similar to the way the color property works across elements in the tree -- the color on a descendant replaces the color on an ancestor.  However, I think people who work with code that implements clipping almost always think of clips the way we (in the CSS world) think of background-color.  When multiple things define a (clip / background-color), all of the (clips apply / backgrounds paint), and they then (intersect with each other / draw on top of each other).  So if there's spec text that says X creates a clip, and that clip should be different in some cases, the spec text really needs to say so right there, since otherwise the general rule for combining clips is to intersect all the relevant ones.

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5896#issuecomment-899776793 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 16 August 2021 19:53:46 UTC