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

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