Skip to content

Commit 29d2771

Browse files
committed
[css-scroll-anchoring-1][editorial] Fixed Bikeshed issues
1 parent 67672fd commit 29d2771

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

css-scroll-anchoring-1/Overview.bs

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ spec:css-sizing-3;
3434
</pre>
3535
<pre class="anchors">
3636
spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/;
37-
urlPrefix: interaction.html
38-
type: dfn;
39-
text:DOM anchor
40-
text:focused area of the document
41-
text:active match; url: fip-active-match
42-
urlPrefix: form-control-infrastructure.html
43-
type: dfn;
44-
text:mutable; url: concept-fe-mutable
37+
urlPrefix: interaction.html
38+
type: dfn;
39+
text:DOM anchor
40+
text:focused area of the document
41+
text:active match; url: fip-active-match
42+
urlPrefix: form-control-infrastructure.html
43+
type: dfn;
44+
text:mutable; url: concept-fe-mutable
4545
spec: html; urlPrefix: https://w3c.github.io/editing/docs/execCommand/;
46-
urlPrefix: index.html
47-
type: dfn;
48-
text:editable
46+
urlPrefix: index.html
47+
type: dfn;
48+
text:editable
4949
</pre>
5050

5151
<h2 id=intro>
@@ -113,11 +113,12 @@ In some cases, a scrolling box may not select any anchor node.
113113
An element |C| is a <dfn id="anchor-viable-candidate">viable candidate</dfn>
114114
for becoming a scroll anchor for a scrolling box |S| if it meets all of the
115115
following criteria:
116-
* |C| is an element that is not a non-<a>atomic inline</a>.
117-
* |C| is <a>partially visible</a> or <a>fully visible</a> in |S|
118-
* |C| is a descendant of |S|
119-
* |C| is not in an <a>excluded subtree</a>
120-
* None of the ancestors of |C| up to |S| are in an <a>excluded subtree</a>
116+
117+
* |C| is an element that is not a non-<a>atomic inline</a>.
118+
* |C| is <a>partially visible</a> or <a>fully visible</a> in |S|
119+
* |C| is a descendant of |S|
120+
* |C| is not in an <a>excluded subtree</a>
121+
* None of the ancestors of |C| up to |S| are in an <a>excluded subtree</a>
121122

122123
Some elements are considered to be
123124
<dfn id="anchor-priority-candidates" export lt="anchor priority candidate" local-lt="priority candidate">anchor priority candidates</dfn>
@@ -230,7 +231,7 @@ It then queues an adjustment to the scroll position of <code>y1 - y0</code>,
230231
in the block flow direction,
231232
to be performed at the end of the <a>suppression window</a>.
232233

233-
The scroll adjustment is a type of [[cssom-view-1#scrolling-events#scrolling]] as defined by [[!CSSOM-VIEW]],
234+
The scroll adjustment is a type of [[cssom-view-1#scrolling-events|scrolling]] as defined by [[!CSSOM-VIEW]],
234235
and generates <a event lt=scroll>scroll events</a> in the manner described there.
235236

236237
<h4 id="suppression-windows">
@@ -334,12 +335,17 @@ Note: The <code>overflow-anchor</code> property was also proposed (with differen
334335
for <a href="http://tabatkins.github.io/specs/css-sticky-scrollbars/">CSS Sticky Scrollbars</a>,
335336
which has now been <a href="https://tabatkins.github.io/specs/css-sticky-scrollbars/#intro">superseded</a>.
336337

337-
<h2 id='priv-sec'>
338-
Privacy and Security Considerations</h2>
338+
<h2 class=no-num id=privacy>Privacy Considerations</h2>
339+
340+
This specification,
341+
as it only adjusts how we compute scroll positions,
342+
introduces no new privacy considerations.
343+
344+
<h2 class=no-num id=security>Security Considerations</h2>
339345

340346
This specification,
341347
as it only adjusts how we compute scroll positions,
342-
introduces no new privacy or security considerations.
348+
introduces no new security considerations.
343349

344350
<h2 id='changes' class="no-num">
345351
Changes</h2>

0 commit comments

Comments
 (0)