Skip to content

Commit

Permalink
Add scroll-initial-target (#2610)
Browse files Browse the repository at this point in the history
* Add `scroll-initial-target`

* Refresh dist

* Revise description

Co-authored-by: James Stuckey Weber <jamesnw@gmail.com>

---------

Co-authored-by: James Stuckey Weber <jamesnw@gmail.com>
  • Loading branch information
ddbeck and jamesnw authored Feb 28, 2025
1 parent 985bfa8 commit 6f1279b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions features/scroll-initial-target.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: scroll-initial-target
description: "The `scroll-initial-target: nearest` CSS declaration sets the initial scroll position of its scroll container to the top of the element, much like scrolling to a URL fragment."
spec: https://drafts.csswg.org/css-scroll-snap-2/#properties-on-the-scroll-container
compat_features:
- css.properties.scroll-initial-target
- css.properties.scroll-initial-target.nearest
- css.properties.scroll-initial-target.none
13 changes: 13 additions & 0 deletions features/scroll-initial-target.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Generated from: scroll-initial-target.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "133"
chrome_android: "133"
edge: "133"
compat_features:
- css.properties.scroll-initial-target
- css.properties.scroll-initial-target.nearest
- css.properties.scroll-initial-target.none

0 comments on commit 6f1279b

Please sign in to comment.