Skip to content

Commit 6095076

Browse files
committed
[css-snappoints] Removing box argument to scroll-snap-area value per working group resolution that I had forgotten about *facepalm* https://lists.w3.org/Archives/Public/www-style/2015Nov/0306.html
1 parent 472c970 commit 6095076

2 files changed

Lines changed: 42 additions & 39 deletions

File tree

css-snappoints/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Ignored Terms: scroll-snap-positions-*, containing block chain
189189

190190
<dt><dfn lt="scroll snap area" local-lt="snap area" export>snap area</dfn>
191191
<dd>
192-
An element's snap area is the rectangle obtained by expanding its specified box by its 'scroll-snap-area'.
192+
An element's snap area is the rectangle obtained by expanding its border box by its 'scroll-snap-area'.
193193

194194
<dt><dfn lt="scroll snap position" local-lt="snap position" export>snap position</dfn>
195195
<dd>
@@ -264,20 +264,20 @@ Ignored Terms: scroll-snap-positions-*, containing block chain
264264

265265
<pre class="propdef">
266266
Name: scroll-snap-area
267-
Value: [ border-box | margin-box ]? [ <<length>> | <<percentage>> ]{1,4}
267+
Value: [ <<length>> | <<percentage>> ]{1,4}
268268
Initial: 0
269269
Applies to: all elements
270270
Inherited: no
271-
Percentages: relative to the specified element box
271+
Percentages: relative to the border box
272272
Media: interactive
273273
Computed value: as specified, with lengths made absolute
274274
Animatable: yes
275275
</pre>
276276

277277
<dl dfn-type=value dfn-for="scroll-snap-area">
278-
<dt><dfn>[ border-box | margin-box ]? [ <<length>> | <<percentage>> ]{1,4}</dfn>
278+
<dt><dfn>[ <<length>> | <<percentage>> ]{1,4}</dfn>
279279
<dd>
280-
Specifies the outset of the element's snap area from the axis-aligned bounding box of the transformed specified box, in the <a>scroll container's</a> coordinate space. Outsets are applied to this bounding box, not the specified box. If the box argument is omitted it defaults to border-box.
280+
Specifies the outset of the element's snap area from the axis-aligned bounding box of the transformed border box, in the <a>scroll container's</a> coordinate space. Outsets are applied to this bounding box, not the border box.
281281

282282
Note: This ensures that the <a>scroll snap area</a> is always rectangular and axis-aligned to the <a>scroll container's</a> coordinate space.
283283
</dl>

0 commit comments

Comments
 (0)