diff --git a/css-scroll-snap-2/Overview.bs b/css-scroll-snap-2/Overview.bs index 1f4633c4b07e..45b4fe44e4ca 100644 --- a/css-scroll-snap-2/Overview.bs +++ b/css-scroll-snap-2/Overview.bs @@ -80,7 +80,7 @@ Motivating Examples {#examples} overflow-inline: auto; } .carousel .origin { - scroll-start-target: auto; + scroll-initial-target: nearest; } @@ -103,7 +103,7 @@ Motivating Examples {#examples} } main { - scroll-start-target: auto; + scroll-initial-target: nearest; } @@ -131,15 +131,19 @@ Motivating Examples {#examples} Setting Where Scroll Starts {#properties-on-the-scroll-container} ================================================================= -The 'scroll-start-target' property {#scroll-start-target} +The 'scroll-initial-target' property {#scroll-initial-target} ------------------------------------------- +ISSUE(11173): The name "scroll-initial-target" is chosen as the least worst option +which expresses that it should be scrolled to when its scroll container +first shows up on the page. A better name for the property would be very much welcome. +
- Name: scroll-start-target - Value: none | auto + Name: scroll-initial-target + Value: none | nearest Initial: ''none'' Applies to: all elements Inherited: no @@ -176,23 +180,23 @@ Initial scroll target Animation type: none-