Skip to content

Commit 40063a3

Browse files
committed
format scroll state like Enterprise
1 parent 4824989 commit 40063a3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • microsoft-edge/web-platform/release-notes

microsoft-edge/web-platform/release-notes/133.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ Use container queries to style descendants of containers based on their scroll s
6969

7070
The query container is either a scroll container, or an element affected by the scroll position of a scroll container. The following states can be queried:
7171

72-
* Whether a sticky-positioned container is stuck to one of the edges of the scroll box (`stuck`).
73-
* Whether a scroll-snap aligned container is currently snapped horizontally or vertically (`snapped`).
74-
* Whether a scroll container can be scrolled in a queried direction (`scrollable`).
72+
* `stuck`: A sticky positioned container is stuck to one of the edges of the scroll box.
73+
* `snapped`: A scroll snap aligned container is currently snapped horizontally or vertically.
74+
* `scrollable`: Whether a scroll container can be scrolled in a queried direction.
7575

76-
A new `container-type:scroll-state` has been introduced, to allow such containers to be queried.
76+
A new `container-type: scroll-state` lets containers to be queried.
7777

7878
For example:
7979

0 commit comments

Comments
 (0)