Re: [css3-content] sizing of images inserted using the content property

On 11/21/11 10:31 AM, Florian Rivoal wrote:
> The examples say nothing about what happens if you insert an image

Yes, but nothing in 12.2 suggests that it should be any different from 
inserting text either.

> "Note. This specification does not fully define the interaction of :before
> and :after with replaced elements (such as IMG in HTML). This will be
> defined in more detail in a future specification."

This is talking about a different issue: what happens when you have a 
rule like this:

   img::before { content: "Some text"; }

-Boris

Received on Monday, 21 November 2011 15:42:39 UTC