W3C home > Mailing lists > Public > www-style@w3.org > November 2011

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 21 Nov 2011 10:42:09 -0500
Message-ID: <4ECA7151.8030100@mit.edu>
To: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:46 GMT