web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
5.02k stars 3.12k forks source link

[@container] Add support for scroll-state(overflowing) axis #49304

Closed chromium-wpt-export-bot closed 1 day ago

chromium-wpt-export-bot commented 1 day ago

Add new values for matching axis instead of edge for overflowing: block, inline, x, y.

These are convenience keywords. For instance:

scroll-state(overflowing: x)

is the same as:

scroll-state((overflowing: left) or (overflowing: right))

Based on request in [1]

[1] https://github.com/w3c/csswg-drafts/issues/11183

Bug: 367764865 Change-Id: I125db5e5eced86da6404aa0bc5469830278d0ca9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6022915 Reviewed-by: Anders Hartvoll Ruud \andruud@chromium.org Commit-Queue: Rune Lillesveen \futhark@chromium.org Cr-Commit-Position: refs/heads/main@{#1386111}