Skip to content

Commit

Permalink
Bug 1937094 [wpt PR 49678] - [css-scroll-snap-2] Rename scroll-start-…
Browse files Browse the repository at this point in the history
…target to scroll-initial-target, a=testonly

Automatic update from web-platform-tests
[css-scroll-snap-2] Rename scroll-start-target to scroll-initial-target

In line with the CSS working group's resolution[1] to rename
scroll-start-target to scroll-initial-target and its keyword auto to
nearest, this patch updates Blink's implementation.

This patch only does the rename on the code in the relevant files. A
follow-up patch will rename the relevant files.

[1] w3c/csswg-drafts#11173 (comment)

Bug: 40909052
Change-Id: I8ec8ab8fbd994f3f737d7c1d6a40af015fc6d2d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6088389
Reviewed-by: Steve Kobes <skobeschromium.org>
Commit-Queue: David Awogbemila <awogbemilachromium.org>
Cr-Commit-Position: refs/heads/main{#1395987}

--

wpt-commits: 24f3b8dce40e1e767c7e6bf1568a7c30b0c24b21
wpt-pr: 49678

UltraBlame original commit: 7ba193e19f4ec3804cd1beaa2b7afd09d9e50112
  • Loading branch information
marco-c committed Jan 1, 2025
1 parent 81c03ad commit 809f9b1
Show file tree
Hide file tree
Showing 20 changed files with 138 additions and 136 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
:
scroll
-
start
initial
-
target
-
Expand Down Expand Up @@ -72,7 +72,7 @@
#
scroll
-
start
initial
-
target
"
Expand Down Expand Up @@ -159,12 +159,12 @@
"
scroll
-
start
initial
-
target
"
"
auto
nearest
"
)
;
Expand All @@ -173,7 +173,7 @@
"
scroll
-
start
initial
-
target
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
:
scroll
-
start
initial
-
target
-
Expand Down Expand Up @@ -73,7 +73,9 @@
#
scroll
-
start
initial
-
target
"
>
<
Expand Down Expand Up @@ -146,7 +148,7 @@
"
scroll
-
start
initial
-
target
"
Expand All @@ -160,7 +162,7 @@
"
scroll
-
start
initial
-
target
"
Expand All @@ -174,7 +176,7 @@
"
scroll
-
start
initial
-
target
"
Expand All @@ -190,7 +192,7 @@
"
scroll
-
start
initial
-
target
"
Expand All @@ -205,7 +207,7 @@
"
scroll
-
start
initial
-
target
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
:
scroll
-
start
initial
-
target
-
Expand Down Expand Up @@ -73,7 +73,7 @@
#
scroll
-
start
initial
-
target
"
Expand Down Expand Up @@ -148,7 +148,7 @@
"
scroll
-
start
initial
-
target
"
Expand All @@ -162,12 +162,12 @@
"
scroll
-
start
initial
-
target
"
"
auto
nearest
"
)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
:
scroll
-
start
initial
-
target
*
Expand Down Expand Up @@ -69,7 +69,7 @@
#
scroll
-
start
initial
-
target
"
Expand Down Expand Up @@ -202,11 +202,11 @@
;
scroll
-
start
initial
-
target
:
auto
nearest
;
position
:
Expand Down Expand Up @@ -473,7 +473,7 @@
"
scroll
-
start
initial
-
target
aligns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
:
scroll
-
start
initial
-
target
*
Expand Down Expand Up @@ -69,7 +69,7 @@
#
scroll
-
start
initial
-
target
"
Expand Down Expand Up @@ -217,11 +217,11 @@
;
scroll
-
start
initial
-
target
:
auto
nearest
;
}
<
Expand Down Expand Up @@ -589,7 +589,7 @@
to
scroll
-
start
initial
-
target
"
Expand Down Expand Up @@ -651,7 +651,7 @@
block
scroll
-
start
initial
-
target
becomes
Expand Down Expand Up @@ -699,7 +699,7 @@
to
scroll
-
start
initial
-
target
"
Expand Down Expand Up @@ -786,7 +786,7 @@
as
scroll
-
start
initial
-
target
reappears
Expand All @@ -800,7 +800,7 @@
none
scroll
-
start
initial
-
target
becomes
Expand Down
Loading

0 comments on commit 809f9b1

Please sign in to comment.