content property

Hakon Lie wrote:
> ... There is a proposal to add this capability
> in the future, e.g.:
> 
>   Q:before { content: "«" }
>   Q:after { content: "»" }

Are "before" and "after" 'added-content' pseudo-elements, as BR is an
added-content element? Will the "content" property apply only to such
added-content elements?

Where would "LI:before" appear relative to a list-item marker? Or would
the list-item marker be considered a default "before" pseudo-element
such that styling could be applied to the marker (eliminating the need
for a more specific marker pseudo-element)?

> The new 'content' property would also be useful for e.g. automatic
> numbering of elements.

How? Are incrementable variables part of the proposal?

David Perrell

Received on Monday, 5 May 1997 16:42:36 UTC