Re: [css-values] text()

On Mon, Oct 28, 2013 at 10:26 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> Le 28/10/2013 17:22, Tab Atkins Jr. a écrit :
>> Note that the text-content wont' be enough for those decorative
>> effects if there's any stylistic markup inside of it; for example, if
>> one word in the element is italicized, the pseudo-element's contents
>> won't be.
>>
>> If that's an acceptable limitation, then this seems reasonable.  I'm
>> not sure that it is, though.
>
> Apparently the alternative is to use attr() with a data-* attribute, which
> can only contain non-styled text as well.

Yeah, given the apparent accepability of the current hacks, I suppose
this is okay.

~TJ

Received on Monday, 28 October 2013 17:43:43 UTC