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

[csswg-drafts] [css-scroll-snap] Do scroll-margin-* properties accept percentages?

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Tue, 06 Nov 2018 22:54:44 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-378069046-1541544883-sysbot+gh@w3.org>
ewilligers has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-scroll-snap] Do scroll-margin-* properties accept percentages? ==
Should the value accept percentages, or should the computed value exclude percentages?

https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-top
> Name:	scroll-margin-top, scroll-margin-right, scroll-margin-bottom, scroll-margin-left
> Value:	`<length>`
> Percentages:	n/a
> Computed value:	a computed `<length-percentage>` value

https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block-start
> Name:	scroll-margin-block-start, scroll-margin-inline-start, scroll-margin-block-end, scroll-margin-inline-end
> Value:	`<length>`
> Percentages:	n/a
> Computed value:	a computed `<length-percentage>` value

https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin
> Name:	scroll-margin
> Value:	`<length>`{1,4}
> Percentages:	n/a
> Computed value:	per side, a computed `<length-percentage>` value



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3289 using your GitHub account
Received on Tuesday, 6 November 2018 22:54:45 UTC

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