Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
331155d
[css-snappoints] Adding definition of snap position, and rephrasing i…
ChumpChief Nov 24, 2015
ecdd8ea
[css-snappoints] Adding scroll-snap-area. Included mechanism to spec…
ChumpChief Nov 24, 2015
7eb14dc
[css-snappoints] Adding scroll-snap-padding. Clarified definition of…
ChumpChief Nov 24, 2015
779d3c0
[css-snappoints] Adding scroll-snap-align. Omitting 'edges' value as…
ChumpChief Nov 25, 2015
f85ad4e
[css-snappoints] Copy in overview from Tab/Elika proposal, but making…
ChumpChief Jan 8, 2016
85a7c08
[css-snappoints] Minor editorial changes to overview.
ChumpChief Jan 8, 2016
1b960f8
[css-snappoints] Adding clarification re: visual viewport for snap vi…
ChumpChief Jan 8, 2016
480da86
[css-snappoints] Removing scroll-snap-coordinate and scroll-snap-dest…
ChumpChief Jan 8, 2016
777e1d8
[css-snappoints] Adding in detail of scroll-snap-padding
ChumpChief Jan 8, 2016
acb2116
[css-snappoints] Trying the term 'snap alignment container' over 'sna…
ChumpChief Jan 8, 2016
c5b59e7
[css-snappoints] Adding definition for scroll snap area and tweaking …
ChumpChief Jan 8, 2016
1393efe
[css-snappoints] Minor tweak to description of snap alignment contain…
ChumpChief Jan 8, 2016
f73c3cd
[css-snappoints] Adding an open issue for the pending working group r…
ChumpChief Jan 8, 2016
492a5f2
[css-snappoints] Updating examples, still need to update example figu…
ChumpChief Jan 8, 2016
82527a2
[css-snappoints] Updating example diagrams
ChumpChief Jan 8, 2016
332b95a
[css-snappoints] Changing 'snap points' to 'snap positions' for consi…
ChumpChief Jan 8, 2016
99b03fd
[css-snappoints] Changing src extension to .bs which I think is prefe…
ChumpChief Jan 9, 2016
73e9fb0
[css-snappoints] Update figcaption for example 1
ChumpChief Jan 11, 2016
6350afa
[css-snappoints] Update figcaption for example 2
ChumpChief Jan 11, 2016
f0e6761
[css-snappoints] Updating generated html
ChumpChief Jan 11, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[css-snappoints] Adding scroll-snap-padding. Clarified definition of …
…percentage behavior as compared to proposal in a manner that I think is consistent with its intent. Needs a definition for what the property defines, but avoiding 'snap viewport' for the time being since 'viewport' isn't an accurate descriptor of the feature and the term 'viewport' is already overloaded. Will add an alternative term and definition later.
  • Loading branch information
ChumpChief committed Jan 8, 2016
commit 7eb14dc1757c51ff2145b7998306fc66647d4c8a
24 changes: 23 additions & 1 deletion css-snappoints/Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,31 @@ <h2 id="scroll-snap-type">Scroll Snap Types: the 'scroll-snap-type' property</h2
The visual viewport of this <a>scroll container</a> may come to rest on a snap position at the termination of a scroll at the discretion of the UA given the parameters of the scroll. If the content changes such that the visual viewport would no longer rest on a snap position (e.g. content is added, moved, deleted, resized), the scroll offset may be modified to maintain this guarantee.
</dl>

<h2 id="scroll-snap-padding">Scroll Snap Padding: the 'scroll-snap-padding' property</h2>

The 'scroll-snap-padding' property defines a region inset from the visual viewport of a <a>scroll container</a> used in calculating its <a>snap positions</a>.

<pre class="propdef">
Name: scroll-snap-padding
Value: <<length>>{1,4}
Initial: 0
Applies to: scroll containers
Inherited: no
Percentages: relative to the scroll container's visual viewport
Media: interactive
Computed value: specified value, with lengths made absolute
Animatable: yes
</pre>

<dl dfn-type=value dfn-for="scroll-snap-padding">
<dt><dfn><<length>>{1,4}</dfn>
<dd>
Specifies the region inset from the visual viewport. Values are interpreted as for 'padding', and specify inward offsets from each edge of the visual viewport.
</dl>

<h2 id="scroll-snap-area">Scroll Snap Area: the 'scroll-snap-area' property</h2>

The 'scroll-snap-area' property defines a region for an element which will be used in calculating <a>snap positions</a> for its ancestor scroll container.
The 'scroll-snap-area' property defines a region for an element used in calculating <a>snap positions</a> for its ancestor scroll container.

<pre class="propdef">
Name: scroll-snap-area
Expand Down