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 08:44:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-360060136-1516783448-sysbot+gh@w3.org>
@AmeliaBR If you check `overflow:hidden`, it clips at the padding edge.
http://jsbin.com/toluzah/edit?html,css,output
I would expect the same to happen here.

So "contents" definitely includes direct in flow content the element itself (as well as out of flow content), but it does not include the element's decorations (border, border images, box shadow, etc).

At least that's my working assumption.

Do implementers have a different understanding?

Is there a less ambiguous term we can use than "contents of the element"

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

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