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: trchen1033 via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 Jan 2018 08:59:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-360064085-1516784377-sysbot+gh@w3.org>
+1 that "contents" should exclude element background and box decorations. Also in my opinion contain:paint should not clip the output of stacking context effects such as filter:blur.

In other words, contain:paint is behaviorally equivalent to overriding overflow:visible into overflow:hidden (overflow clip and forcing block formatting context) and transform:none into transform:identity (become containing block for all descendants).

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

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