Re: Generated content

> Re: Generated content
> 
> From: Ian Hickson (py8ieh@bath.ac.uk)
> >>> This fails to define the rendering of
> >>>    P.note:before { content: "Note: "; display: block; }
> >>>    P.note        { border: solid green }
> >>> - does the border cover the block before.
> >>>
> >>> The spec does not say whether it does. Clearly the best answer is
> >>> no, [...]
> >>
> >> (Clearly?)
> >>
> >> The answer is actually yes.
> > Spec reference please - I don't think it is possible to say for
> > certain either way.
> 
> Section 12.1:
> # [The] :before and :after pseudo-elements specify the location of
> # content before and after an element's document tree content.
That doesn't, I fear, answer my question.

Received on Friday, 4 February 2000 08:47:33 UTC