Skip to content

Commit

Permalink
[css-conditional-5] Rename overflowing to scrollable #11182
Browse files Browse the repository at this point in the history
  • Loading branch information
Rune Lillesveen authored and svgeesus committed Nov 21, 2024
1 parent 08c2868 commit e971c65
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions css-conditional-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -829,22 +829,22 @@ Creating Named Containers: the 'container' shorthand</h3>
container-queries/reattach-container-with-dirty-child.html
container-queries/registered-color-style-queries.html
container-queries/resize-while-content-visibility-hidden.html
container-queries/scroll-state/at-container-overflowing-parsing.html
container-queries/scroll-state/at-container-overflowing-serialization.html
container-queries/scroll-state/at-container-scrollable-parsing.html
container-queries/scroll-state/at-container-scrollable-serialization.html
container-queries/scroll-state/at-container-snapped-parsing.html
container-queries/scroll-state/at-container-snapped-serialization.html
container-queries/scroll-state/at-container-stuck-parsing.html
container-queries/scroll-state/at-container-stuck-serialization.html
container-queries/scroll-state/container-type-scroll-state-computed.html
container-queries/scroll-state/container-type-scroll-state-containment.html
container-queries/scroll-state/container-type-scroll-state-parsing.html
container-queries/scroll-state/scroll-state-initially-overflowing.html
container-queries/scroll-state/scroll-state-initially-scrollable.html
container-queries/scroll-state/scroll-state-initially-snapped.html
container-queries/scroll-state/scroll-state-initially-stuck.html
container-queries/scroll-state/scroll-state-overflowing-change.html
container-queries/scroll-state/scroll-state-overflowing-container-type-change.html
container-queries/scroll-state/scroll-state-overflowing-layout-change.html
container-queries/scroll-state/scroll-state-overflowing-wm.html
container-queries/scroll-state/scroll-state-scrollable-change.html
container-queries/scroll-state/scroll-state-scrollable-container-type-change.html
container-queries/scroll-state/scroll-state-scrollable-layout-change.html
container-queries/scroll-state/scroll-state-scrollable-wm.html
container-queries/scroll-state/scroll-state-snapped-change.html
container-queries/scroll-state/scroll-state-snapped-container-type-change.html
container-queries/scroll-state/scroll-state-snapped-layout-change.html
Expand Down Expand Up @@ -1367,7 +1367,7 @@ Scroll State Container Features</h3>
[=Scroll-state features=] can either match state of the scroller itself,
or an element that is affected by the scroll position of an ancestor
[=scroll container's=] [=scrollport=]. An example of the former is the
''overflowing'' feature, ''snapped'' the latter.
''scrollable'' feature, ''snapped'' the latter.

<h4 id="updating-scroll-state">
Updating Scroll State</h4>
Expand Down Expand Up @@ -1483,27 +1483,27 @@ Scroll snapping: the '@container/snapped' feature</h4>
in the inline direction of the [=snap container=].
</dl>

<h4 id="overflowing">
Overflowing: the '@container/overflowing' feature</h4>
<h4 id="scrollable">
Scrollable: the '@container/scrollable' feature</h4>

<pre class="descdef mq">
Name: overflowing
Name: scrollable
For: @container
Value: none | top | right | bottom | left | block-start | inline-start | block-end | inline-end
Type: discrete
</pre>

The '@container/overflowing' [=container feature=] queries whether a
The '@container/scrollable' [=container feature=] queries whether a
[=scroll container=] has clipped [=scrollable overflow rectangle=] content
in the given direction which is reachable through user initiated scrolling.
That is, '@container/overflowing' does not match for a ''overflow/hidden''
That is, '@container/scrollable' does not match for a ''overflow/hidden''
container, nor for a [=negative scrollable overflow region=].

The logical values map to physical based on the direction and writing-mode of
the [=query container=]. None of the values match if the container is not a
[=scroll container=].

<dl dfn-type=value dfn-for="@container/overflowing">
<dl dfn-type=value dfn-for="@container/scrollable">
<dt><dfn>none</dfn>
<dd>
The [=scroll container=] does not have [=scrollable overflow=] in any direction.
Expand Down Expand Up @@ -1697,7 +1697,7 @@ Changes since the <a href="https://www.w3.org/TR/2024/WD-css-conditional-5-20240
<ul>
<!-- To 31 Oct 2024 -->
<li>Add 'none'-keywords to scroll-state() features (<a href="https://github.com/w3c/csswg-drafts/pull/10874">#10874</a>)</li>
<li>Added container-type:scroll-state, and scroll-state() queries for stuck, snapped, and overflowing features
<li>Added container-type:scroll-state, and scroll-state() queries for stuck, snapped, and scrollable features
(<a href="https://github.com/w3c/csswg-drafts/issues/6402#issuecomment-1812973013">#6402</a>,
<a href="https://github.com/w3c/csswg-drafts/issues/10784#issuecomment-2379901508">#10784</a>,
<a href="https://github.com/w3c/csswg-drafts/issues/10796#issuecomment-2379885032">#10796</a>)</li>
Expand Down

0 comments on commit e971c65

Please sign in to comment.