W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css-pseudo] please make sure pseudo-element "alt" property makes it into next ED

From: James Craig <jcraig@apple.com>
Date: Tue, 4 Nov 2014 17:43:39 -0800
Cc: www-style list <www-style@w3.org>, "jackalmage@gmail.com" <jackalmage@gmail.com>, fantasai <fantasai@inkedblade.net>
Message-Id: <E5FDBBF6-BCBA-4712-9772-3CC9C5D16907@apple.com>
To: Alan Stearns <stearns@adobe.com>

> On Nov 4, 2014, at 3:27 PM, Alan Stearns <stearns@adobe.com> wrote:
> 
> I’ve checked in a rough draft of the property:
> http://dev.w3.org/csswg/css-pseudo/#alt-property

Great. Thanks!

It might be worth noting in Example 12 that the style sheet is  not the best place for localizable strings. A comment on the example should suffice.

> .new::before { 
>   content: url(./img/star.png);
>   alt: "New!"; /* or from a localized attribute like alt: attr(title); */
> }

Thanks again.
James
Received on Wednesday, 5 November 2014 01:44:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC