W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css3-images] [CSS21] replaced elements and 'content'

From: Anton Prowse <prowse@moonhenge.net>
Date: Sun, 20 May 2012 20:46:00 +0200
Message-ID: <4FB93BE8.3050204@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
CC: fantasai <fantasai.lists@inkedblade.net>
On 27/03/2012 09:07, fantasai wrote:
> Tab asked me make sure we clarify how 'content'-generated replaced elements
> interact with the box properties. So we've added the following text as an
> example:
>
> http://dev.w3.org/csswg/css3-images/#object-sizing-examples
>
> # ‘content’
> # Objects inserted via the CSS2.1 ‘content’ property are anonymous
> # replaced elements, and are sized the same way. [CSS21] Note that
> # such anonymous elements have all their non-inherited properties
> # (including ‘width’, ‘height’, etc.) set to their initial values.
>
> I'm pretty sure this is the behavior we all agreed on and have implemented;
> however, I can't find any text in CSS2.1 that explain this nor any tests
> in the test suite that test it, i.e. the fact that a <uri> value for
> 'content' inserts replaced elements rather than turning the element into a
> replaced element.
>
> Am I missing something, or is this a CSS2.1 issue here? And is this the
> correct behavior?

fantasai, this is filed at 
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17126

Cheers,
Anton
Received on Sunday, 20 May 2012 18:46:32 GMT

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