Skip to content

Commit 3f84d85

Browse files
committed
[css-snappoints] Updating generated HTML
1 parent 958fd4c commit 3f84d85

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

css-snappoints/Overview.html

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
<div class="head">
115115
<p data-fill-with="logo"><a class="logo" href="http://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/Icons/w3c_home" width="72"> </a> </p>
116116
<h1 class="p-name no-ref" id="title">CSS Scroll Snap Points Module Level 1</h1>
117-
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2016-01-13">13 January 2016</time></span></h2>
117+
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2016-01-15">15 January 2016</time></span></h2>
118118
<div data-fill-with="spec-metadata">
119119
<dl>
120120
<dt>This version:
@@ -380,7 +380,7 @@ <h2 class="heading settled" data-level="5" id="scroll-snap-type"><span class="se
380380
<dt><dfn class="css" data-dfn-for="scroll-snap-type" data-dfn-type="value" data-export="" id="valdef-scroll-snap-type-proximity">proximity<a class="self-link" href="#valdef-scroll-snap-type-proximity"></a></dfn>
381381
<dd>
382382
The visual viewport of this <a data-link-type="dfn" href="#scroll-container">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.
383-
<p>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 alignment of the visual viewport with a snap position. If the visual viewport was already aligned with a snap position prior to the content change and that snap position still exists (e.g. its associated element was not deleted) and if the user agent elects to modify the scroll offset to maintain snap position alignment, that same snap position should be satisfied after the content change.</p>
383+
<p>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 alignment of the visual viewport with a snap position. If the visual viewport was already aligned with a snap position prior to the content change and that snap position still exists (e.g. its associated element was not deleted) and if the user agent elects to modify the scroll offset to maintain snap position alignment, that same snap position must be satisfied after the content change.</p>
384384
</dl>
385385
<h2 class="heading settled" data-level="6" id="scroll-snap-padding"><span class="secno">6. </span><span class="content">Scroll Snap Padding: the <a class="property" data-link-type="propdesc" href="#propdef-scroll-snap-padding">scroll-snap-padding</a> property</span><a class="self-link" href="#scroll-snap-padding"></a></h2>
386386
<p>The <a class="property" data-link-type="propdesc" href="#propdef-scroll-snap-padding">scroll-snap-padding</a> property defines the <a data-link-type="dfn" href="#snap-alignment-container">snap alignment container</a>, a region inset from the visual viewport of a <a data-link-type="dfn" href="#scroll-container">scroll container</a> used in calculating its <a data-link-type="dfn" href="#scroll-snap-position">snap positions</a>. The snap alignment container is used as the alignment container when calculating valid <a data-link-type="dfn" href="#scroll-snap-position">snap positions</a>.</p>
@@ -428,7 +428,7 @@ <h2 class="heading settled" data-level="7" id="scroll-snap-area0"><span class="s
428428
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-scroll-snap-area">scroll-snap-area<a class="self-link" href="#propdef-scroll-snap-area"></a></dfn>
429429
<tr class="value">
430430
<th>Value:
431-
<td class="prod">[ <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#length-value">&lt;length></a> <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#percentage-value">&lt;percentage></a> ]<a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#mult-num-range">{1,4}</a>
431+
<td class="prod"><a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#length-value">&lt;length></a><a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#mult-num-range">{1,4}</a>
432432
<tr>
433433
<th>Initial:
434434
<td>0
@@ -440,7 +440,7 @@ <h2 class="heading settled" data-level="7" id="scroll-snap-area0"><span class="s
440440
<td>no
441441
<tr>
442442
<th>Percentages:
443-
<td>relative to the border box
443+
<td>n/a
444444
<tr>
445445
<th>Media:
446446
<td>interactive
@@ -452,7 +452,7 @@ <h2 class="heading settled" data-level="7" id="scroll-snap-area0"><span class="s
452452
<td>yes
453453
</table>
454454
<dl>
455-
<dt><dfn class="css" data-dfn-for="scroll-snap-area" data-dfn-type="value" data-export="" id="valdef-scroll-snap-area--length--percentage-1-4">[ <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#length-value">&lt;length></a> | <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#percentage-value">&lt;percentage></a> ]{1,4}<a class="self-link" href="#valdef-scroll-snap-area--length--percentage-1-4"></a></dfn>
455+
<dt><dfn class="css" data-dfn-for="scroll-snap-area" data-dfn-type="value" data-export="" id="valdef-scroll-snap-area-length1-4"><a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#length-value">&lt;length></a>{1,4}<a class="self-link" href="#valdef-scroll-snap-area-length1-4"></a></dfn>
456456
<dd>
457457
Specifies the outset of the element’s snap area from the axis-aligned bounding box of the transformed border box, in the <a data-link-type="dfn" href="#scroll-container">scroll container’s</a> coordinate space. Outsets are applied to this bounding box, not the border box.
458458
<p class="note" role="note">Note: This ensures that the <a data-link-type="dfn" href="#scroll-snap-area">scroll snap area</a> is always rectangular and axis-aligned to the <a data-link-type="dfn" href="#scroll-container">scroll container’s</a> coordinate space.</p>
@@ -595,12 +595,8 @@ <h3 class="no-num heading settled" id="index-defined-here"><span class="content"
595595
<ul class="index">
596596
<li><a href="#valdef-scroll-snap-align-center">center</a><span>, in §8</span>
597597
<li><a href="#valdef-scroll-snap-align-end">end</a><span>, in §8</span>
598-
<li>
599-
[ &lt;length> | &lt;percentage> ]{1,4}
600-
<ul>
601-
<li><a href="#valdef-scroll-snap-padding--length--percentage-1-4">value for scroll-snap-padding</a><span>, in §6</span>
602-
<li><a href="#valdef-scroll-snap-area--length--percentage-1-4">value for scroll-snap-area</a><span>, in §7</span>
603-
</ul>
598+
<li><a href="#valdef-scroll-snap-area-length1-4">&lt;length>{1,4}</a><span>, in §7</span>
599+
<li><a href="#valdef-scroll-snap-padding--length--percentage-1-4">[ &lt;length> | &lt;percentage> ]{1,4}</a><span>, in §6</span>
604600
<li><a href="#valdef-scroll-snap-type-mandatory">mandatory</a><span>, in §5</span>
605601
<li>
606602
none
@@ -705,11 +701,11 @@ <h2 class="no-num heading settled" id="property-index"><span class="content">Pro
705701
<td>as specified, with lengths made absolute
706702
<tr>
707703
<th scope="row"><a class="css" data-link-type="property" href="#propdef-scroll-snap-area">scroll-snap-area</a>
708-
<td>[ &lt;length> | &lt;percentage> ]{1,4}
704+
<td>&lt;length>{1,4}
709705
<td>0
710706
<td>all elements
711707
<td>no
712-
<td>relative to the border box
708+
<td>n/a
713709
<td>interactive
714710
<td>yes
715711
<td>as specified, with lengths made absolute

0 commit comments

Comments
 (0)