Skip to content

Commit 137257a

Browse files
cdoublevfantasai
authored andcommitted
[css-scroll-snap-1] Default 2nd to 1st value in scroll padding/margin shorthands
1 parent d35cf94 commit 137257a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css-scroll-snap-1/Overview.bs

+4
Original file line numberDiff line numberDiff line change
@@ -1162,6 +1162,8 @@ Flow-relative Longhands for 'scroll-padding' {#padding-longhands-logical}
11621162
If two values are specified, the first gives the start value
11631163
and the second gives the end value.
11641164

1165+
If only one value is specified, the second value defaults to the same value.
1166+
11651167
Physical Longhands for 'scroll-margin' {#margin-longhands-physical}
11661168
--------------------------------------------------------------------
11671169

@@ -1219,6 +1221,8 @@ Flow-relative Longhands for 'scroll-margin' {#margin-longhands-logical}
12191221
If two values are specified, the first gives the start value
12201222
and the second gives the end value.
12211223

1224+
If only one value is specified, the second value defaults to the same value.
1225+
12221226
Privacy and Security Considerations {#priv-sec}
12231227
===============================================
12241228

0 commit comments

Comments
 (0)