1,295
edits
| Line 18: | Line 18: | ||
* For each descendant D of E for which E is the nearest scrollable ancestor, where D's value of 'scroll-snap-edge' contains 'margin-left', the left edge of the first margin-box of D if there is one. | * For each descendant D of E for which E is the nearest scrollable ancestor, where D's value of 'scroll-snap-edge' contains 'margin-left', the left edge of the first margin-box of D if there is one. | ||
* For each descendant D of E for which E is the nearest scrollable ancestor, where D's value of 'scroll-snap-edge' contains 'left', the left edge of the first border-box of D if there is one. | * For each descendant D of E for which E is the nearest scrollable ancestor, where D's value of 'scroll-snap-edge' contains 'left', the left edge of the first border-box of D if there is one. | ||
* For each descendant D of E for which E is the nearest scrollable ancestor, where D's value of 'scroll-snap-edge' contains 'margin-start', the left edge of the first margin-box of D if there is one and E's direction is LTR, or the right edge of the first margin-box of D if there is one and E's direction is RTL. | |||
* For each descendant D of E for which E is the nearest scrollable ancestor, where D's value of 'scroll-snap-edge' contains 'start', the left edge of the first border-box of D if there is one and E's direction is LTR, or the right edge of the first border-box of D if there is one and E's direction is RTL. | |||
For an element E with 'scroll-snap-y' not 'none', the set of ''vertical snapping positions'' is the union of | For an element E with 'scroll-snap-y' not 'none', the set of ''vertical snapping positions'' is the union of | ||
edits