@@ -520,7 +520,8 @@ Scroll Snapping Area: the 'scroll-margin' property {#scroll-margin}
520
520
or the target of {{scrollIntoView()}} ),
521
521
the UA should use the element's <a>scroll snap area</a> ,
522
522
rather than just its border box,
523
- to determine which area of the <a>scrollable overflow region</a> to bring into view.
523
+ to determine which area of the <a>scrollable overflow region</a>
524
+ to bring into view.
524
525
525
526
<!--
526
527
███ ██ ████ ██████ ██ ██
@@ -1095,15 +1096,46 @@ Changes {#changes}
1095
1096
Changes Since 24 August 2017 CR {#changes-20170824}
1096
1097
---------------------------------------------------
1097
1098
1098
- Changes since the <a href="https://www.w3.org/TR/2017/CR-css-scroll-snap-1-20170824/">24 August 2017 Candidate Recommendation</a> include:
1099
+ Changes since the <a href="https://www.w3.org/TR/2017/CR-css-scroll-snap-1-20170824/">24 August 2017 Candidate Recommendation</a> include:
1099
1100
1100
- * '':target'' /{{scrollIntoView()}} /etc should take 'scroll-margin' into account,
1101
- regardless of whether snapping is turned on or not.
1102
- * '':target'' /{{scrollIntoView()}} /etc must (rather than should)
1103
- use snap positions if snapping is turned on.
1104
- * Renamed <css> scroll-snap-margin</css> to 'scroll-margin'
1105
- to reflect its more generic role in providing breathing space
1106
- for scrolling to an element regardless of snapping behavior.
1101
+ <ul>
1102
+ <li id="change-2017-scroll-margin">
1103
+ '':target'' /{{scrollIntoView()}} /etc should take 'scroll-margin' into account,
1104
+ regardless of whether snapping is turned on or not.
1105
+ (<a href="https://drafts.csswg.org/css-scroll-snap-1/issues-cr-2016-08#issue-1">Issue 1</a>
1106
+ <blockquote>
1107
+ <p><ins> If a page is navigated to a fragment that defines a target element
1108
+ (one that would be matched by '':target'' ,
1109
+ or the target of {{scrollIntoView()}} ),
1110
+ the UA should use the element's <a>scroll snap area</a> ,
1111
+ rather than just its border box,
1112
+ to determine which area of the <a>scrollable overflow region</a>
1113
+ to bring into view.</ins></p>
1114
+ </blockquote>
1115
+
1116
+ <li id="change-2017-target-snap-must">
1117
+ '':target'' /{{scrollIntoView()}} /etc must (rather than should)
1118
+ use snap positions if snapping is turned on.
1119
+ (<a href="https://drafts.csswg.org/css-scroll-snap-1/issues-cr-2016-08#issue-1">Issue 1</a>
1120
+ <blockquote>
1121
+ <p> If a page is navigated to a fragment that defines a target element
1122
+ (one that would be matched by '':target'' ,
1123
+ or the target of {{Element/scrollIntoView()}} ),
1124
+ and that element defines some <a>snap positions</a> ,
1125
+ the user agent <del> should</del> <ins> must</ins> <a>snap</a>
1126
+ to one of that element’s <a>snap positions</a>
1127
+ <ins> if its nearest <a>scroll container</a> is a <a>scroll snap container</a> </ins> .
1128
+ The user agent <em> may</em> also do this even when
1129
+ the <a>scroll container</a> has ''scroll-snap-type: none'' .</p>
1130
+ </blockquote>
1131
+
1132
+ <li id="change-2017-rename-scroll-margin">
1133
+ Renamed <css> scroll-snap-margin</css> to 'scroll-margin'
1134
+ to reflect its more generic role in providing breathing space
1135
+ for scrolling to an element regardless of snapping behavior.
1136
+ (<a href="https://drafts.csswg.org/css-scroll-snap-1/issues-cr-2016-08#issue-4">Issue 4</a> )
1137
+
1138
+ A <a href="https://drafts.csswg.org/css-scroll-snap-1/issues-cr-2016-08">Disposition of Comments</a> is available.
1107
1139
1108
1140
Changes Since 20 October 2016 CR {#changes-20161020}
1109
1141
----------------------------------------------------
0 commit comments