Skip to content

Commit d103977

Browse files
committed
[css-scroll-anchoring] Fix linking errors, and export terms that are needed.
1 parent a64cdba commit d103977

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

css-scroll-anchoring/Overview.bs

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ Abstract: This spec also proposes an API for web developers to opt-out of this b
1818
</pre>
1919

2020
<pre class=link-defaults>
21-
spec:css22; type:property;
22-
text:max-height
23-
text:min-height
24-
text:height
25-
text:max-width
26-
text:min-width
27-
text:width
21+
spec:css22;
22+
type:property;
23+
text:max-height
24+
text:min-height
25+
text:height
26+
text:max-width
27+
text:min-width
28+
text:width
29+
type:dfn; text:line box
2830
</pre>
2931

3032
<h2 id=intro>
@@ -94,7 +96,7 @@ In some cases, a scrolling box may not select any anchor node.
9496
1. For each DOM child |C| of |N|,
9597
perform the <a>candidate examination algorithm</a> for |C| in |S|,
9698
and terminate if it selects an anchor node.
97-
2. For each <a>absolutely positioned</a> element |A|
99+
2. For each absolutely-positioned element |A|
98100
whose <a>containing block</a> is |N|,
99101
but whose DOM parent is not |N|,
100102
perform the <a>candidate examination algorithm</a> for |A| in |S|,
@@ -159,7 +161,7 @@ in the block flow direction,
159161
to be performed at the end of the <a>suppression window</a>.
160162

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

164166
<h4 id="suppression-windows">
165167
Suppression Window</h4>
@@ -209,7 +211,7 @@ These triggers are:
209211

210212
* Any change to the computed value of the 'position' property
211213
on any element within the scrollable element (or document),
212-
such that the element becomes or stops being <a>absolutely positioned</a>.
214+
such that the element becomes or stops being absolutely positioned.
213215
Note that this trigger applies regardless of whether the modified element is
214216
on the path from the anchor node to the scrollable element.
215217

@@ -249,10 +251,10 @@ Values are defined as follows:
249251
</dl>
250252

251253
Note: It is not possible to turn scroll anchoring "back on"
252-
for descendants of a ''scroll-anchoring: none'' element.
254+
for descendants of a ''overflow-anchor: none'' element.
253255
However, descendant <a>scroll containers</a> automatically "turn it back on"
254256
(for their own scrolling box)
255-
unless they explicitly have ''scroll-anchoring: none'' set on them as well.
257+
unless they explicitly have ''overflow-anchor: none'' set on them as well.
256258

257259
Note: The <code>overflow-anchor</code> property was also proposed (with different values)
258260
for <a href="http://tabatkins.github.io/specs/css-sticky-scrollbars/">CSS Sticky Scrollbars</a>,

css-scroll-snap/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ Scroll Snapport: the 'scroll-padding' property {#scroll-padding}
418418
Values must be non-negative
419419
and represent inward offsets from the corresponding edge of the scrollport.
420420
These offsets define the
421-
<dfn>optimal viewing region</dfn> of the scrollport:
421+
<dfn export>optimal viewing region</dfn> of the scrollport:
422422
the region used as the target region for placing things in view of the user.
423423
This allows the author to exclude regions of the scrollport
424424
that are obscured by other content

cssom-view/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ HTML.
125125
<dfn>Content edge</dfn>, <dfn>padding edge</dfn>, <dfn>border edge</dfn>, <dfn>margin edge</dfn>, and <dfn>viewport</dfn> are defined by CSS.
126126
<!-- These *should* just link to CSS2.1, but it doesn't have actual anchors to link to, because it's THE WORST. -->
127127

128-
Elements and <a>viewports</a> have an associated <dfn>scrolling box</dfn> if has a scrolling mechanism<!--XXX xref--> or it overflows
128+
Elements and <a>viewports</a> have an associated <dfn export>scrolling box</dfn> if has a scrolling mechanism<!--XXX xref--> or it overflows
129129
its content area<!--XXX xref--> and the used value of the 'overflow-x' or 'overflow-y' property is ''overflow/hidden''. [[!CSS3-BOX]]
130130

131131
An element <var>body</var> (which will be <a>the HTML <code>body</code> element</a>) is

0 commit comments

Comments
 (0)