Skip to content

Commit 5997c33

Browse files
committed
[css-scroll-snap] Add diffs and issue links to changes list.
1 parent 23b4b17 commit 5997c33

File tree

1 file changed

+41
-9
lines changed

1 file changed

+41
-9
lines changed

css-scroll-snap-1/Overview.bs

+41-9
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,8 @@ Scroll Snapping Area: the 'scroll-margin' property {#scroll-margin}
520520
or the target of {{scrollIntoView()}}),
521521
the UA should use the element's <a>scroll snap area</a>,
522522
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.
524525

525526
<!--
526527
███ ██ ████ ██████ ██ ██
@@ -1095,15 +1096,46 @@ Changes {#changes}
10951096
Changes Since 24 August 2017 CR {#changes-20170824}
10961097
---------------------------------------------------
10971098

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:
10991100

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.
11071139

11081140
Changes Since 20 October 2016 CR {#changes-20161020}
11091141
----------------------------------------------------

0 commit comments

Comments
 (0)