W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

[csswg-drafts] [css-scroll-snap] Is `scroll-snap-type: [ mandatory | proximity ]` valid CSS?

From: Wenson Hsieh via GitHub <sysbot+gh@w3.org>
Date: Thu, 22 Dec 2016 23:20:10 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-197286822-1482448807-sysbot+gh@w3.org>
whsieh has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-scroll-snap] Is `scroll-snap-type: [ mandatory | proximity ]` 
valid CSS? ==
Link: https://drafts.csswg.org/css-scroll-snap/

According to the spec, values of `scroll-snap-type` follow the format 
`none | [ x | y | block | inline | both ] [ mandatory | proximity ]?`,
 which I understand to mean that values like `x mandatory` or `block` 
are valid, but `mandatory` alone is not. However, in Section 2 
(Motivating Examples) I noticed that `scroll-snap-type: mandatory;` 
and `scroll-snap-type: proximity;` are utilized. Is the intention to 
make those valid values for `scroll-snap-type`?

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/827 using your GitHub 
account
Received on Thursday, 22 December 2016 23:20:11 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC