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

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