- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Thu, 20 Apr 2023 07:57:18 +0000
- To: public-css-archive@w3.org
cdoublev has just submitted a new pull request for https://github.com/w3c/csswg-drafts: == [css-scroll-snap-1] Default 2nd to 1st value in scroll-*-block and scroll-*-inline == For [`scroll-padding`](https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding) and `scroll-margin`: > [...] assigning values to the longhands representing each side exactly as the padding property does for its longhands Therefore I assume (and propose that) an omitted second value should default to the first specified value in logical shorthands (instead of the initial value), like in Chrome/FF: ```js style.scrollPaddingBlock = '1px' style.scrollPaddingBlockStart; // 1px style.scrollPaddingBlockEnd; // 1px ``` See https://github.com/w3c/csswg-drafts/pull/8741 -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 20 April 2023 07:57:20 UTC