[csswg-drafts] scroll-padding-inline with container query? (#12900)

bakura10 has just created a new issue for https://github.com/w3c/csswg-drafts:

== scroll-padding-inline with container query? ==
Hello,

I run into a behavior that surprised me a bit, but it consistent across browsers. I wonder if this is the expected result or if it is a spec bug. I'm trying to create a full bleed feature and use cqw units to do automatic calculation. Unfortunately, while the margin and padding are calculated correctly, the scroll-padding-inline does not seem to work. This issue can be reproduced here: https://codepen.io/bakura10/pen/wBMoaqK

As you can see in the inspector the correct value is calculated for both padding-inline and margin-inline, but for some reason it does not apply to the scroll-padding-inline.

What is the reason of this behavior?

Thanks.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12900 using your GitHub account


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

Received on Friday, 3 October 2025 02:28:31 UTC