[css-snappoints] Early comments on Snap Points

There are some markup errors:
* In scroll-snap-points-x/y, you're not escaping the <> characters in
the grammar.
* I'm not sure what's going on with your quotes, but they're all smart
quotes and messed up.  I presume this is Word doing something weird?
(Based on my experiences in the past with MS people writing the specs
in Word first.)
* You're not using Bikeshed. ^_^  Seriously, though, Bikeshed helps
ensure the spec has the right type of metadata for us to develop
automated tools over the specs.  Mind if I convert it?

<http://dev.w3.org/csswg/css-snappoints/#scroll-snap-type> Per
previous mailing list discussion, we also need a type that snaps
between snap points in a discrete manner, rather than scrolling at
all.  This kind of functionality is used by spreadsheet apps, and is
purposely emulated on the web now.

Robert's earlier proposal at
<https://wiki.mozilla.org/Gecko:CSSScrollSnapping> also extracted snap
points from the children of the element, which seemed like a great
idea.  We should do this as well.

<http://dev.w3.org/csswg/css-snappoints/#scroll-snap-points> There's
no need to overuse functions like this.  It would be much more
readable to just use a list of lengths for the explicitly-placed
points, and a keyword to switch into the repetition mode.

<lenper>+ | <lenper>* repeat-every <lenper>
<lenper> = <length> | <percentage>


I was writing a slightly more general Scrolling spec this week with a
few more of the features from
<http://msdn.microsoft.com/en-us/library/windows/apps/hh453816.aspx>
plus a couple other scrolling-related things that have come up over
the last year, with plans to announce it next week.  Would you mind me
merging this into it, with all three of us as co-editors?

~TJ

Received on Tuesday, 22 October 2013 17:36:12 UTC