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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 9 May 2010 10:22:35 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Andrew Fedoniouk <news@terrainformatica.com>, "Robert O'Callahan" <robert@ocallahan.org>, www-style list <www-style@w3.org>
Message-ID: <20100509172235.GA6032@pickering.dbaron.org>
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.)


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Sunday, 9 May 2010 17:23:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:45 UTC