Skip to content

Commit 5887c36

Browse files
committed
Review comments.
1 parent fc11053 commit 5887c36

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

css-overflow-4/Overview.bs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,11 @@ Expanding Clipping Bounds: the 'overflow-clip-margin-*' properties</h3>
286286
with ''overflow: hidden'' or ''overflow: scroll'',
287287
which are not defined to use the [=overflow clip edge=].
288288

289-
<h3 id="scroll-markers">
290-
Overflow Controls: the 'scroll-markers' property and pseudo-elements</h3>
289+
<h3 id="scroll-marker-group">
290+
Overflow Controls: the 'scroll-marker-group' property and pseudo-elements</h3>
291291

292292
<pre class=propdef>
293-
Name: scroll-markers
293+
Name: scroll-marker-group
294294
Value: none | before | after
295295
Initial: none
296296
Applies to: [=scroll containers=]
@@ -300,10 +300,10 @@ Overflow Controls: the 'scroll-markers' property and pseudo-elements</h3>
300300
Canonical Order: per grammar
301301
</pre>
302302

303-
The 'scroll-markers' property specifies whether the [=scroll container=] should have a '::scroll-marker-group' pseudo-element created,
303+
The 'scroll-marker-group' property specifies whether the [=scroll container=] should have a '::scroll-marker-group' pseudo-element created,
304304
and its position relative to the scroll container.
305305

306-
<dl dfn-type=value dfn-for=scroll-markers>
306+
<dl dfn-type=value dfn-for=scroll-marker-group>
307307
<dt><dfn>none</dfn>
308308
<dd>
309309
The [=scroll container=] does not create a '::scroll-marker-group' pseudo-element.
@@ -324,7 +324,7 @@ Overflow Controls: the 'scroll-markers' property and pseudo-elements</h3>
324324

325325
The <dfn selector>::scroll-marker-group</dfn> pseudo-element box
326326
is generated by a [=scroll container=] element
327-
having a computed 'scroll-markers' property that is not 'none',
327+
having a computed 'scroll-marker-group' property that is not 'none',
328328
representing a stylable sibling pseudo-element immediately adjacent to the [=scroll container=].
329329

330330
The following additions are recommended for the default UA stylesheet
@@ -337,9 +337,10 @@ Overflow Controls: the 'scroll-markers' property and pseudo-elements</h3>
337337

338338
<h4 id="fragment-pseudo-element">The ''::scroll-marker'' pseudo-element</h4>
339339

340-
When the computed 'content' value of an element is not 'none',
341-
the <dfn selector>::scroll-marker</dfn> psuedo-element generates a box
342-
as if it was a child of the ''::scroll-marker-group'' box on its nearest ancestor [=scroll container=].
340+
When the computed 'content' value of a <dfn selector>::scroll-marker</dfn> pseudo-element is not 'none'
341+
and its nearest ancestor [=scroll container=] [=scroll container=] has a computed 'scroll-marker-group' property that is not 'none',
342+
the pseudo-element generates a box attached as a child of the ''::scroll-marker-group'' pseudo-element's generated box
343+
on its nearest ancestor [=scroll container=].
343344
These boxes are added in the [=tree order=] of their <a>originating element</a>.
344345

345346
These pseudo-elements behave as a <{button}>

0 commit comments

Comments
 (0)