File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,16 +263,17 @@ The 'scroll-marker-group' property</h4>
263263 or via the tab key when currently active or when no other ''::scroll-marker'' is active and this is the first marker in the group,
264264 ensuring the group has a <a href="https://open-ui.org/components/focusgroup.explainer/#guaranteed-tab-stop">guaranteed tab stop</a> .
265265
266- <h4 id="active-scroll-marker">The active scroll marker</h4>
266+ <h4 id="active-scroll-marker">
267+ Selecting The Active Scroll Marker: the '':target-current'' pseudo-class</h4>
267268
268269 Exactly one [=scroll marker=] within each [=scroll marker group=] is determined to be active at a time.
269- An active [=scroll marker =] can be styled by the '':checked'' pseudo-class.
270+ Such " active" [=scroll markers =] match the <dfn selector>:target-current</dfn> pseudo-class.
270271
271272 <div class='example'>
272273 The following snippet shows how the link to the currently scrolled section can be highlighted:
273274
274275 <pre highlight=css>
275- a:checked {
276+ a:target-current {
276277 font-weight: bold;
277278 }
278279 </pre>
You can’t perform that action at this time.
0 commit comments