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: Dave Cramer <dauwhe@gmail.com>
Date: Wed, 9 Sep 2015 11:41:07 -0400
Message-ID: <CADxXqOx7+m-AyY8xmL226rh62ecnZZMJFuYOcP20ePAhn1dt-w@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Tue, Sep 8, 2015 at 10: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?
>

There's already something the css-content draft:

https://drafts.csswg.org/css-content-3/#replacedContent

Is this enough?

Dave
Received on Wednesday, 9 September 2015 15:41:35 UTC

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