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

On Sunday 2010-05-09 10:04 -0700, Tab Atkins Jr. wrote:
> On that note, what should happen with the following?
> 
> p { content: url(image); }
> p::before { content: "foo"; }
> 
> I presume it should fall under the same "undefined" banner that
> setting img::before does, correct?

I think it falls under the same "guaranteed not to show up" banner
as img::before does.  (I think that's what css3-content should say;
I think we just didn't want to make CSS 2.1 incompatible with the
examples in CSS2.)

-David

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

Received on Sunday, 9 May 2010 17:23:08 UTC