@@ -191,20 +191,20 @@ Overview {#overview}
191191 as a particular alignment ('scroll-snap-align' )
192192 of an element's <a>scroll snap area</a>
193193 (its border bounding box, as modified by 'scroll-snap-margin' )
194- within the <a>scroll container</a> ’ s <a>snapport</a>
194+ within the <a>scroll container</a> ' s <a>snapport</a>
195195 (its scrollport, as reduced by 'scroll-snap-padding' ).
196196 This is conceptually equivalent to specifying the alignment of
197197 an <a>alignment subject</a> within an <a>alignment container</a> .
198198 A scroll position that satisfies the specified alignment
199199 is a <a>snap position</a> .
200200
201201 The act of adjusting the scroll position
202- of a scroll container’ s scrollport
202+ of a scroll container' s scrollport
203203 such that it is aligned to a snap position
204204 is called <dfn lt="snap | snapping | snapped">snapping</dfn> ,
205205 and a <a>scroll container</a> is said to be
206206 <a>snapped</a> to a <a>snap position</a>
207- if its scrollport’ s scroll position
207+ if its scrollport' s scroll position
208208 is that <a>snap position</a>
209209 and there is no active scrolling operation.
210210 The CSS Scroll Snap Module
@@ -271,7 +271,7 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
271271 If the content changes such that the scroll container would no longer be <a>snapped</a> (e.g. content is added, moved, deleted, resized) to the same snap position it was snapped to before the content change, the scroll container must be re-snapped. If the same snap position it was snapped to before the content change still exists (e.g. its associated element was not deleted) and is reachable, the scroll container must be re-snapped to that same snap position after the content change.
272272
273273 If specified on a non-<a>scroll container</a> ,
274- this value “ traps” descendant boxes’ <a>snap positions</a> ,
274+ this value " traps" descendant boxes' <a>snap positions</a> ,
275275 preventing them from affecting any ancestor <a>scroll containers</a> .
276276
277277 <dt> <dfn>proximity</dfn>
@@ -283,7 +283,7 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
283283 Issue: The text for mandatory and proximity resnapping requirements has some overlap -- try to rewrite this more concisely and without repetition without altering functionality
284284
285285 If specified on a non-<a>scroll container</a> ,
286- this value “ traps” descendant boxes’ <a>snap positions</a> ,
286+ this value " traps" descendant boxes' <a>snap positions</a> ,
287287 preventing them from affecting any ancestor <a>scroll containers</a> .
288288 </dl>
289289
@@ -333,7 +333,7 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
333333 <dt> <dfn>point</dfn>
334334 <dd>
335335 The <a>scroll container</a> <a>point-snaps</a> to <a>snap positions</a> in both axes simultaneously,
336- treating each element’ s <a>snap position</a> as a single 2D position
336+ treating each element' s <a>snap position</a> as a single 2D position
337337 (rather than potentially snapping to different elements in each axis).
338338 </dl>
339339
@@ -439,7 +439,7 @@ Scroll Snapping Area: the 'scroll-snap-margin' property {#scroll-snap-margin}
439439 (interpreted as for 'margin' or 'border-image-outset' ).
440440 The <a>scroll snap area</a> is the rectangular bounding box of the transformed border box,
441441 plus the specified outsets,
442- axis-aligned in the <a>scroll container’ s</a> coordinate space.
442+ axis-aligned in the <a>scroll container' s</a> coordinate space.
443443
444444 Note: This ensures that the <a>scroll snap area</a> is always rectangular
445445 and axis-aligned to the <a>scroll container's</a> coordinate space.
@@ -522,7 +522,7 @@ Scoping Valid Snap Positions to Visible Boxes</h4>
522522 in all cases, the specified alignment creates a valid <a>snap position</a>
523523 only if at least part of the <a>snap area</a> is within the <a>snapport</a> .
524524 For example, a <a>snap area</a> is top-aligned to the <a>snapport</a>
525- if its top edge is coincident with the <a>snapport</a> ’ s top edge;
525+ if its top edge is coincident with the <a>snapport</a> ' s top edge;
526526 however, this alignment is nonetheless not a valid <a>snap position</a>
527527 if the entire <a>snap area</a> is outside the <a>snapport</a> .
528528
@@ -586,7 +586,7 @@ Snapping Boxes that Overflow the Scrollport</h4>
586586Unreachable Snap Positions</h4>
587587
588588 If a <a>snap position</a> is unreachable as specified,
589- such that aligning to it would require scrolling the <a>scroll container</a> ’ s viewport
589+ such that aligning to it would require scrolling the <a>scroll container</a> ' s viewport
590590 past the edge of its <a>scrollable overflow region</a> ,
591591 the <em> used</em> <a>snap position</a> for this <a>snap area</a>
592592 is the position resulting from scrolling <em> as much as possible</em> in each relevant axis
@@ -755,7 +755,7 @@ Axis vs Point-Snapping {#snap-dimensions}
755755 in each axis of the <a>scroll container</a> independently,
756756 with no dependent preference for what the other axis's scroll position should be.
757757
758- Note: This is the “ default” type of <a>snap behavior</a>
758+ Note: This is the " default" type of <a>snap behavior</a>
759759 that most <a>scroll containers</a> will want to use,
760760 and so the ''scroll-snap-type'' property intentionally defaults to it.
761761
@@ -814,7 +814,7 @@ Choosing Snap Positions {#choosing}
814814 if the <a>snap position</a> of an element is chosen to align to,
815815 the <a>scroll container</a> must set its scroll position
816816 according to the element's <a>snap positions</a> in <em> both</em> axises;
817- the <a>scroll container</a> <em> must not</em> “ partially align” to the element
817+ the <a>scroll container</a> <em> must not</em> " partially align" to the element
818818 by taking its <a>snap position</a> in one axis
819819 and aligning the other axis according to something else.
820820
@@ -830,16 +830,16 @@ Choosing Snap Positions {#choosing}
830830 * In order to prevent a far-offscreen element
831831 from having difficult-to-understand effects
832832 on the scroll position,
833- <a>snap positions</a> should be ignored if their elements are far outside of the “ corridor”
833+ <a>snap positions</a> should be ignored if their elements are far outside of the " corridor"
834834 that the <a>snapport</a> defines as it moves through the <a>scrollable overlow region</a> ,
835- or a hypothetical “ corridor” in the direction of a <a>directional scroll</a> ,
835+ or a hypothetical " corridor" in the direction of a <a>directional scroll</a> ,
836836 or the <a>snapport</a> after an <a>explicit scroll</a> .
837837
838- * User agents <em> must</em> ensure that a user can “ escape” a <a>snap position</a> ,
838+ * User agents <em> must</em> ensure that a user can " escape" a <a>snap position</a> ,
839839 regardless of the scroll method.
840840 For example, if the snap type is ''mandatory''
841841 and the next <a>snap position</a> is more than two screen-widths away,
842- a naïve “ always snap to nearest” selection algorithm would “ trap” the user
842+ a naïve " always snap to nearest" selection algorithm would " trap" the user
843843 if they were panning with a touch gesture;
844844 a sufficiently large distance would even trap fling scrolling!
845845 Instead, a smarter algorithm that only returned to the starting <a>snap position</a>
0 commit comments