W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

[csswg-drafts] [cssom-view][css-overflow][css-scrollsnap] Missing terminology

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Feb 2018 06:57:57 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-297696482-1518764277-sysbot+gh@w3.org>
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view][css-overflow][css-scrollsnap] Missing terminology ==
In https://wicg.github.io/spatial-navigation, I've found myself wanting to refer to a scroll-able thing that isn't already scrolled to the maximum. (and in my case, I only cared about manually scrollable things, not things that can be scolled only by script, like `overflow:hidden`)

For now, I've rolled my own definition (see below), but this should be in a css spec somewhere. Maybe this is CSSOM-View. Maybe there should be a new CSS spec that deals with the general processing model for scrolling, to which various bits of CSSOM-View and CSS-scrollsnap could refer to (and/or be moved to).

> An element <var>e</var> <dfn lt="can be manually scrolled | can be scrolled manually | cannot be scrolled manually | cannot be manually scrolled">can be manually scrolled</dfn> in a given direction <var>d</var> if:
> * The <a>principal box</a> established by <var>e</var> is a <a>scroll container</a>, and
> * if <var>d</var> is <code>up</code> or <code>down</code>, the computed value of the 'overflow-y' property is not ''overflow/hidden'', and
> * if <var>d</var> is <code>left</code> or <code>right</code>, the computed value of the 'overflow-x' property is not ''overflow/hidden'', and
> * <var>e</var> is not at the <a href="https://wicg.github.io/overscroll-behavior/#scroll-boundary">scroll boundary</a> in the direction <var>d</var>
> * <var>e</var> is not snapped to the last ''mandatory'' snap point in direction <var>d</var>



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2322 using your GitHub account
Received on Friday, 16 February 2018 06:58:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC