W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2018

Re: [csswg-drafts] [css-contain] contain:paint should use padding box instead of content box

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 Jan 2018 06:14:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-360031684-1516774488-sysbot+gh@w3.org>
> Instead of the content box, the actual implementation in Blink uses the padding box, which is more inline with overflow clip.

Sounds reasonable to me.

> Blink currently doesn't apply inner border radius clip to paint containment, which I feel weird.

It seems to me that css-background does require it:
https://drafts.csswg.org/css-backgrounds-3/#corner-clipping
We could certainly put a note in css-contain (and a test in WPT) to remind people about it. Do you think we need anything more than that?

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2223#issuecomment-360031684 using your GitHub account
Received on Wednesday, 24 January 2018 06:14:55 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:23 UTC