W3C home > Mailing lists > Public > www-style@w3.org > September 2015

Re: [css21][css-pseudo][css-content] Clarify interaction of :before/:after and replaced content

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 9 Sep 2015 08:43:52 -0700
Message-ID: <CAAWBYDA2goKHniNN1KjB6pQDK233PmU5hTGT3iNes2uoaUKhpQ@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Tue, Sep 8, 2015 at 7:51 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> https://twitter.com/AmeliasBrain/status/632309925469810688
>
> Amelia Bellamy-Royds @AmeliasBrain wrote:
>>
>> Wilfred Nas @wnas wrote:
>> > I know that replaced elements can not have generated content (:after),
>> > but I want some documentation to point to, anyone?
>>
>>  Hey @csswg, I've spent 20min & can't find a spec.
>> CSS2.1 leaves explicitly undefined.
>> CSS Pseudo 4 does not restrict
>
>
> We should probably fix this. Not sure in which spec, though.
> Probably css-content?

Yeah, content.  Tho it's implicit from the "replaced elements'
contents are undefined by CSS" thing that 2.1 already says.

~TJ
Received on Wednesday, 9 September 2015 15:44:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:56 UTC