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

Re: dynamic states and pseudo elements for inline styles

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 9 Nov 2016 10:33:28 -0800
Message-ID: <CAAWBYDCvdMOk45ZdbhqSh3nzjxp7EwN7aYiVeE0jEGNwug8wfA@mail.gmail.com>
To: James Kyle <me@thejameskyle.com>
Cc: www-style list <www-style@w3.org>
On Tue, Nov 8, 2016 at 2:23 PM, James Kyle <me@thejameskyle.com> wrote:
>> Second, adding the ; to the end of the style blocks is bad.  It makes
>> the style blocks gratuitously different from stylesheets, and for a
>> pretty weak reason - solely so that you can freely mix declaration and
>> blocks, and still have all the declarations recognized in legacy
>> browsers.  Recommending that authors just put their plain styles first
>> handles this just fine, *and* is a good idea anyway (it makes it
>> easier to read), and preserves the ordinary grammar of CSS
>> stylesheets.
>
> That sounds fine to me, I had just been searching for incompatibilities and
> figured that would be the best way of fitting in. But requiring them to come
> last seems totally reasonable.
>
> I can update the spec to have the {}'s removed, and can work through any
> problems it may have. Can someone point me in the right direction to do
> that?

We need to bring this up as a WICG topic; when we get implementor
interest, it'll be promoted to a WICG spec; when it's mature, it'll
return to the CSSWG, presumably as a new level of the style-attr spec.

~TJ
Received on Wednesday, 9 November 2016 18:34:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:05 UTC