A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/w3c/csswg-drafts/commit/691ec4b749374dd88dd1c9d2f0e10d6f92e60a6c below:

[css-counter-styles-3] Allow UAs to render the symbolic styles in a U… · w3c/csswg-drafts@691ec4b · GitHub

File tree 2 files changed

+9

-2

lines changed

Filter options

2 files changed

+9

-2

lines changed Original file line number Diff line number Diff line change

@@ -1808,8 +1808,10 @@ Symbolic: ''disc'', ''circle'', ''square'', ''disclosure-open'', ''disclosure-cl

1808 1808

}

1809 1809

</pre>

1810 1810 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,

1813 1815

and must be sized to attractively fill a 1em by 1em square.

1814 1816 1815 1817

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

Original file line number Diff line number Diff line change

@@ -1361,6 +1361,11 @@ Outputting Counters: the ''counter()'' and ''counters()'' functions</h3>

1361 1361

In both cases,

1362 1362

if the <<counter-style>> argument is omitted it defaults to ''decimal''.

1363 1363 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 + 1364 1369

If no [=counter=] named <<counter-name>> exists

1365 1370

on an element where ''counter()'' or ''counters()'' is used,

1366 1371

one is first [=instantiated=] with a starting value of ''0''.

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3