Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-scroll-snap] Classify pageup/pagedown keys #1605
Tab and I were discussing the pageup/pagedown keys and noticed they weren't classified in https://www.w3.org/TR/css-scroll-snap-1/#scroll-types
We propose adding them to the "intended direction and end point" class, since they are definitely directional and also have a fairly explicit idea (to the user as well as the UA) of the amount by which we should scroll (even if that amount is a little fuzzy around the edges for cognitive stitching, it's understood to be a screenful).
added a commit
Jul 14, 2017
To be pendantic, a optimal-viewing-regionfull. https://drafts.csswg.org/css-scroll-snap/#optimal-viewing-region
The CSS Working Group just discussed
The full IRC log of that discussion<dael> Topic: Classify pageup/pagedown keys
<dael> github: https://github.com/w3c/csswg-drafts/issues/1605
<dael> fantasai: We realized that page up/page down keys didn't have a classifcation so we proposed adding them to the intended item since it's basically understood to be a screen scroll.
<dael> MaRakow: I think page upa nd down make sense. Home and end are more challanging since with the previous resolution end might not get you to the end and most people expect home or end regardless of scroll-snap-stop.
<tantek> home/end set expectation of actual top/bottom
<dael> fantasai: That's a really good point.
<dael> fantasai: One thing I would consider there is I think we put home & end under another classification...let me look that up. I could see an argument for hitting scroll-snap-stop because we have these internet things where you want to get to the end of an article and it just loads another. I'm okay moving them into the intended end.
<dael> TabAtkins: I'm okay either way.
<Rossen_> +1 to keeping home/end sane
<dael> astearns: Draft has home and end in different?
<dael> fantasai: page up & down
<dael> TabAtkins: Directio + end point
<dael> fantasai: We can move to intended position.
<dael> astearns: Is ther any obj to making the change to page up and down to put in intended direction and endpoint class?
<dael> RESOLVED: make the change to page up and down to put in intended direction and endpoint class
<dael> astearns: And we'll take home and end out of intended direction class?
<dael> astearns: obj?
<dael> RESOLVED: take home and end out of intended direction class
<dael> astearns: Anything else before we update CR for scroll snap
<dael> ChrisL: I sent a Q about impl status. According to [missed] it's fully safari and partially by FF and Edge
<dael> TabAtkins: It's all an incompat subset of the old spec.
<leaverou> btw this is the caniuse URL http://caniuse.com/#feat=css-snappoints
<dael> ChrisL: Does that mean the browsers have tests is where I was going. transition request needs to say impl status.
<leaverou> it does mention support is partial
<dael> TabAtkins: We're nearly finished with our impl. I'm sure we have tests. I can poke Majid to see about grabbing them.
<dael> ChrisL: That would be great. Anyone else have tests?
<dael> Rossen_: For scroll snapping I think the current version isn't compat with the spec. We have tests but they're for the old version so not very helpful. I would encourage anyone with current test to contribute.
<dael> ??: We have tests but they're old
<dael> astearns: This needs to get on our list of spec rec next steps to get a test suite.
<ChrisL> ok I will send a transition request
<dael> astearns: Anything more ChrisL?
<dael> ChrisL: No unless there's been additional wide review to mention. Apart from that I'm good to go.
<dael> astearns: Has anyone outside the WG looked?
<dael> TabAtkins: Aside from some impl I don't believe so.
<dael> ChrisL: I meant since Oct last year.
<dael> astearns: I don't believe we've sent it outside the group.
<dael> ChrisL: Okay. We did it when we first went to CR. It's in case there was antyhing else.
<dael> astearns: Obj to updated CR for scroll snap?
<dael> RESOLVED: updated CR for scroll snap
<ChrisL> rrsagent, here
<RRSAgent> See http://www.w3.org/2017/07/19-css-irc#T16-30-17