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

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 UTC