[csswg-drafts] [css-scroll-snap] Is transform applied before or after adding scroll-margin?

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

== [css-scroll-snap] Is transform applied before or after adding scroll-margin? ==
https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin
The spec says, **_The scroll snap area is the rectangular bounding box of the transformed border box, plus the specified outsets, axis-aligned in the scroll container’s coordinate space._**

Does that mean "transform the border box, then add the specified outsets", or "add the specified outsets to the border box and transform the result"?


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

Received on Monday, 22 January 2018 21:14:45 UTC