Re: [css-snappoints] Definition of "nearest ancestor" for scroll-snap-coordinate

> On Jun 22, 2015, at 5:10 AM, Majid Valipour <majidvp@chromium.org> wrote:
> 
> I think redefining in terms of containing blocks should address the issues with the absolute positioned elements.

Sounds good. Do you (or Matt) plan to do any draft spec updates soon with the recent changes?

> I am not so certain about fixed and sticky positioned elements which are positioned relative to viewport and move as the document scrolls. I cannot think of any usecase where snapping to fixed position element makes sense and allowing it may result in unexpected scrolling behaviour (imagine an infinite scrolling page trying to snap to fixed position element!).  Perhaps we should disallow these.

I think it would be a good idea to explicitly disallow them, yes.

Simon

Received on Monday, 22 June 2015 18:00:25 UTC