Skip to content

Commit 62ff041

Browse files
committed
[css-snappoints] Dropping multiple snap-coordinate syntax per f2f resolution https://log.csswg.org/irc.w3.org/css/2015-10-25/#e613116 and cleaning up box specification text
1 parent f7be88e commit 62ff041

2 files changed

Lines changed: 11 additions & 12 deletions

File tree

css-snappoints/Overview.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ <h2 class="heading settled" data-level="6" id="scroll-snap-coordinate"><span cla
351351
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-scroll-snap-coordinate">scroll-snap-coordinate<a class="self-link" href="#propdef-scroll-snap-coordinate"></a></dfn>
352352
<tr class="value">
353353
<th>Value:
354-
<td class="prod">none <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> [ border-box <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> margin-box ]<a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#mult-opt">?</a> <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-backgrounds-3/#position">&lt;position></a><a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#mult-comma">#</a>
354+
<td class="prod">none <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> [ border-box <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> margin-box ]<a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#mult-opt">?</a> <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-backgrounds-3/#position">&lt;position></a>
355355
<tr>
356356
<th>Initial:
357357
<td>none
@@ -363,7 +363,7 @@ <h2 class="heading settled" data-level="6" id="scroll-snap-coordinate"><span cla
363363
<td>no
364364
<tr>
365365
<th>Percentages:
366-
<td>refer to the element’s border box
366+
<td>refer to the specified element box
367367
<tr>
368368
<th>Media:
369369
<td>interactive
@@ -377,8 +377,8 @@ <h2 class="heading settled" data-level="6" id="scroll-snap-coordinate"><span cla
377377
<dl>
378378
<dt><dfn class="css" data-dfn-for="scroll-snap-coordinate" data-dfn-type="value" data-export="" id="valdef-scroll-snap-coordinate-none">none<a class="self-link" href="#valdef-scroll-snap-coordinate-none"></a></dfn>
379379
<dd> Specifies that this element does not contribute a snap point.
380-
<dt><dfn class="css" data-dfn-for="scroll-snap-coordinate" data-dfn-type="value" data-export="" id="valdef-scroll-snap-coordinate--border-box--margin-box--position">[ border-box | margin-box ]? <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-backgrounds-3/#position">&lt;position></a>#<a class="self-link" href="#valdef-scroll-snap-coordinate--border-box--margin-box--position"></a></dfn>
381-
<dd> Specifies the offset of the snap coordinates from the start edge of the element’s specified box. If the box argument is omitted it defaults to border-box. For each pairing, the first value gives the x coordinate of the snap coordinate, the second value its y coordinate.
380+
<dt><dfn class="css" data-dfn-for="scroll-snap-coordinate" data-dfn-type="value" data-export="" id="valdef-scroll-snap-coordinate--border-box--margin-box--position">[ border-box | margin-box ]? <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-backgrounds-3/#position">&lt;position></a><a class="self-link" href="#valdef-scroll-snap-coordinate--border-box--margin-box--position"></a></dfn>
381+
<dd> Specifies the offset of the snap coordinate from the start edge of the element’s specified box. If the box argument is omitted it defaults to border-box.
382382
</dl>
383383
<h2 class="no-num heading settled" id="acknowledgments"><span class="content">Acknowledgments</span><a class="self-link" href="#acknowledgments"></a></h2>
384384
<p>Many thanks to lots of people for their proposals and recommendations, some of which are incorporated into this document.</p>
@@ -475,7 +475,7 @@ <h3 class="no-ref heading settled" id="testing"><span class="content"> Non-exper
475475
<h2 class="no-num heading settled" id="index"><span class="content">Index</span><a class="self-link" href="#index"></a></h2>
476476
<h3 class="no-num heading settled" id="index-defined-here"><span class="content">Terms defined by this specification</span><a class="self-link" href="#index-defined-here"></a></h3>
477477
<ul class="indexlist">
478-
<li><a href="#valdef-scroll-snap-coordinate--border-box--margin-box--position">[ border-box | margin-box ]? &lt;position>#</a><span>, in §6</span>
478+
<li><a href="#valdef-scroll-snap-coordinate--border-box--margin-box--position">[ border-box | margin-box ]? &lt;position></a><span>, in §6</span>
479479
<li><a href="#valdef-scroll-snap-type-mandatory">mandatory</a><span>, in §4</span>
480480
<li>
481481
none
@@ -506,7 +506,6 @@ <h3 class="no-num heading settled" id="index-defined-elsewhere"><span class="con
506506
<li>
507507
<a data-link-type="biblio" href="#biblio-css-values-3">[css-values]</a> defines the following terms:
508508
<ul>
509-
<li><a href="https://drafts.csswg.org/css-values-3/#mult-comma">#</a>
510509
<li><a href="https://drafts.csswg.org/css-values-3/#length-value">&lt;length></a>
511510
<li><a href="https://drafts.csswg.org/css-values-3/#mult-opt">?</a>
512511
<li><a href="https://drafts.csswg.org/css-values-3/#comb-one">|</a>
@@ -567,11 +566,11 @@ <h2 class="no-num heading settled" id="property-index"><span class="content">Pro
567566
<td>specified value, with lengths made absolute
568567
<tr>
569568
<th scope="row"><a class="css" data-link-type="property" href="#propdef-scroll-snap-coordinate">scroll-snap-coordinate</a>
570-
<td>none | [ border-box | margin-box ]? &lt;position>#
569+
<td>none | [ border-box | margin-box ]? &lt;position>
571570
<td>none
572571
<td>all elements
573572
<td>no
574-
<td>refer to the element’s border box
573+
<td>refer to the specified element box
575574
<td>interactive
576575
<td>yes
577576
<td>specified value, with lengths made absolute

css-snappoints/Overview.src.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,11 @@ <h2 id="scroll-snap-coordinate">Scroll Snap Coordinate: the 'scroll-snap-coordin
240240

241241
<pre class="propdef">
242242
Name: scroll-snap-coordinate
243-
Value: none | [ border-box | margin-box ]? <<position>>#
243+
Value: none | [ border-box | margin-box ]? <<position>>
244244
Initial: none
245245
Applies to: all elements
246246
Inherited: no
247-
Percentages: refer to the element's border box
247+
Percentages: refer to the specified element box
248248
Media: interactive
249249
Computed value: specified value, with lengths made absolute
250250
Animatable: yes
@@ -255,9 +255,9 @@ <h2 id="scroll-snap-coordinate">Scroll Snap Coordinate: the 'scroll-snap-coordin
255255
<dd>
256256
Specifies that this element does not contribute a snap point.
257257

258-
<dt><dfn>[ border-box | margin-box ]? <<position>>#</dfn>
258+
<dt><dfn>[ border-box | margin-box ]? <<position>></dfn>
259259
<dd>
260-
Specifies the offset of the snap coordinates from the start edge of the element's specified box. If the box argument is omitted it defaults to border-box. For each pairing, the first value gives the x coordinate of the snap coordinate, the second value its y coordinate.
260+
Specifies the offset of the snap coordinate from the start edge of the element's specified box. If the box argument is omitted it defaults to border-box.
261261
</dl>
262262

263263
<h2 class=no-num id="acknowledgments">Acknowledgments</h2>

0 commit comments

Comments
 (0)