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

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