Skip to content

Commit 691ec4b

Browse files
committed
[css-counter-styles-3] Allow UAs to render the symbolic styles in a UA-chosen font, as well. w3c#6201
1 parent 4caa08d commit 691ec4b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

css-counter-styles-3/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,8 +1808,10 @@ Symbolic: ''disc'', ''circle'', ''square'', ''disclosure-open'', ''disclosure-cl
18081808
}
18091809
</pre>
18101810

1811-
Alternately, a browser may render these styles using a browser-generated image instead of the defined character.
1812-
If so, the image must look similar to the character,
1811+
When used in 'list-style-type',
1812+
a UA may instead render these styles using a UA-generated image or a UA-chosen font
1813+
instead of rendering the specified character in the element’s own font.
1814+
If using an image, it must look similar to the character,
18131815
and must be sized to attractively fill a 1em by 1em square.
18141816

18151817
For the ''disclosure-open'' and ''disclosure-closed'' counter styles,

css-lists-3/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,6 +1361,11 @@ Outputting Counters: the ''counter()'' and ''counters()'' functions</h3>
13611361
In both cases,
13621362
if the <<counter-style>> argument is omitted it defaults to ''decimal''.
13631363

1364+
Note: If the <<counter-style>> is one of the predefined symbolic styles,
1365+
like ''disc'',
1366+
it might look different than when used in 'list-style-type'.
1367+
See [[css-counter-styles-3##simple-symbolic]].
1368+
13641369
If no [=counter=] named <<counter-name>> exists
13651370
on an element where ''counter()'' or ''counters()'' is used,
13661371
one is first [=instantiated=] with a starting value of ''0''.

0 commit comments

Comments
 (0)