Re: [css3-content] "content" property, replaced elements, and width

On Saturday 2010-05-08 12:05 -0700, Andrew Fedoniouk wrote:
> David, do you remember any discussion of what should happen
> if you have style:
> 
> p { content: "test" }
> 
> on DOM like this:
> 
> <p>foo<span>bar</span></p>
> 
> ?

I presume it's rather like the real content of the p has
'display:none', except that you have the generated content instead.

> p:hover { content: "test" }
> case is also interesting.

I'd think it's interesting in a manner similar to p:hover { display:
none } or p:hover > * { display:none }.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Sunday, 9 May 2010 17:04:46 UTC