Skip to content

Commit 6f3fb38

Browse files
committed
[css-snappoints] Removing reference to undefined term hard snap
1 parent b61504b commit 6f3fb38

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

css-snappoints/Overview.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ <h3 class="heading settled" data-level="1.2" id="values"><span class="secno">1.2
176176
example <a data-link-type="biblio" href="#biblio-css3val">[CSS3VAL]</a>, when combined with this module, expands the
177177
definition of the <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#length-value">&lt;length></a> value type as used in this specification.</p>
178178
<h2 class="heading settled" data-level="2" id="examples"><span class="secno">2. </span><span class="content">Motivating Examples</span><a class="self-link" href="#examples"></a></h2>
179-
<div class="example" id="example-c64104c4">
180-
<a class="self-link" href="#example-c64104c4"></a> In this example, a series of images arranged in a <a data-link-type="dfn" href="#scroll-container">scroll container</a> are used to build a photo gallery. In this example the <a data-link-type="dfn" href="#scroll-container">scroll container</a> is larger than the photos contained within (such that multiple images may be seen simultaneously), and the image
179+
<div class="example" id="example-88c72bc8">
180+
<a class="self-link" href="#example-88c72bc8"></a> In this example, a series of images arranged in a <a data-link-type="dfn" href="#scroll-container">scroll container</a> are used to build a photo gallery. In this example the <a data-link-type="dfn" href="#scroll-container">scroll container</a> is larger than the photos contained within (such that multiple images may be seen simultaneously), and the image
181181
sizes vary. Using mandatory element-based snap
182182
points, scrolling will always complete with an image centered in the <a data-link-type="dfn" href="#scroll-container">scroll container’s</a> visual viewport.
183183
<pre>img {
@@ -194,7 +194,7 @@ <h2 class="heading settled" data-level="2" id="examples"><span class="secno">2.
194194
align with the center of the scroll container */
195195
scroll-snap-destination: 50% 50%;
196196
/* Requires that scrolling always end at a snap point
197-
when the operation completes (hard snap). */
197+
when the operation completes. */
198198
scroll-snap-type: mandatory;
199199
}
200200
</pre>

css-snappoints/Overview.src.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2 id="examples">Motivating Examples</h2>
7979
align with the center of the scroll container */
8080
scroll-snap-destination: 50% 50%;
8181
/* Requires that scrolling always end at a snap point
82-
when the operation completes (hard snap). */
82+
when the operation completes. */
8383
scroll-snap-type: mandatory;
8484
}
8585
</pre>

0 commit comments

Comments
 (0)