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

[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 00:53:44 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-291047257-1516755222-sysbot+gh@w3.org>
trchen1033 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain] contain:paint should use padding box instead of content box ==

In section 3.4. Paint Containment: "The contents of the element must be clipped to the element’s content box,"

Instead of the content box, the actual implementation in Blink uses the padding box, which is more inline with overflow clip.
Also Blink currently doesn't apply inner border radius clip to paint containment, which I feel weird. We should decide what is the intended behavior and document that in the spec, then implement it.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2223 using your GitHub account
Received on Wednesday, 24 January 2018 00:53:48 UTC

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