Skip to content

Commit 446f179

Browse files
authored
[css-overflow-5] Define scroll-target-group property (w3c#12230)
Defines the scroll-target-group property for establishing element scroll marker groups w3c#10916 using proposed naming in w3c#12191.
1 parent d47194c commit 446f179

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

css-overflow-5/Overview.bs

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,39 @@ Issue: Add images representing these examples.
217217
<h4 id="scroll-marker-grouping">
218218
Scroll marker grouping</h4>
219219

220-
An element with a <a href="https://open-ui.org/components/focusgroup.explainer/">focusgroup</a> attribute defines a <dfn>scroll marker group container</dfn>
221-
having a <dfn>scroll marker group</dfn> containing all of the [=scroll marker=] elements for which this is the nearest ancestor [=scroll marker group container=].
222-
223-
Issue: The grouping of markers for scroll progress tracking should be separated from opting into focusgroup focus behavior.
220+
The 'scroll-target-group' property determines whether an element establishes a <dfn>scroll marker group container</dfn> containing [=scroll marker=] elements forming a [=scroll marker group=].
224221

225222
A ''::scroll-marker-group'' pseudo-element is the [=scroll marker group container=] for its contained ''::scroll-marker'' pseudo-elements, which form a [=scroll marker group=] together.
226223

224+
<h4 id="scroll-target-group">
225+
The 'scroll target group' property</h4>
226+
227+
<pre class=propdef>
228+
Name: scroll-target-group
229+
Value: none | auto
230+
Initial: none
231+
Applies to: all elements
232+
Inherited: no
233+
Computed value: specified value
234+
Animation Type: discrete
235+
Canonical Order: per grammar
236+
</pre>
237+
238+
The 'scroll-target-group' property specifies whether the element is a [=scroll marker group container=].
239+
240+
<dl dfn-type=value dfn-for=scroll-target-group>
241+
<dt><dfn>none</dfn>
242+
<dd>
243+
The element does not establish a [=scroll marker group container=].
244+
245+
<dt><dfn>auto</dfn>
246+
<dd>
247+
The element establishes a [=scroll marker group container=]
248+
forming a [=scroll marker group=] containing all of the [=scroll marker=] elements
249+
for which this is the nearest ancestor [=scroll marker group container=].
250+
251+
</dl>
252+
227253
<h4 id="scroll-marker-group-property">
228254
The 'scroll-marker-group' property</h4>
229255

0 commit comments

Comments
 (0)