W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css-hierarchies] HTML style attribute

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Sun, 4 Mar 2012 14:25:36 +0100
Message-ID: <8311DB61D5434D808F8C011D8C524345@FREMYD2>
To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>, <www-style@w3.org>
Scoped stylesheets are nice, but maintaining the HTML4 behavior in which the 
content of the "style" attribute was just inside a special rule targeting 
the current element seems valuable for the future, too.

If we are going to modify what content can be found inside a css rule, I 
think we should modify the content that should be found in the style 
attribute accordingly, to keep mirroring, or we'll have two syntax to 
maintain instead of one.

I don't understand the logic behind the HTML5 draft to create another 
(different) syntax for the CSS style attribute than for any regular css 
rule. Additionnaly, at this time, I think that they are indentical even if 
they use different tokens. This doesn't make sense to me, but it maybe does 
for someone else.




-----Message d'origine----- 
From: Daniel Glazman
Sent: Sunday, March 04, 2012 10:06 AM
To: www-style@w3.org
Subject: Re: [css-hierarchies] HTML style attribute

Le 03/03/12 16:41, Tab Atkins Jr. a écrit :

> On Sat, Mar 3, 2012 at 4:18 AM, François REMY<fremycompany_pub@yahoo.fr> 
> wrote:
>> Small questions for the spec editors of CSS Hierarchies: is it
>> possible/needed to modify the syntax of the “style” attribute to 
>> accomodate
>> hierarchies ?
>
> It would be nice, but as Ms2ger said, it was already attempted once.
> I won't attempt to push the change in this draft, but reviving the old
> Style Attribute draft would be an interesting thing to do eventually.


I don't think François's request make sense given the fact scoped
stylesheets are on their way...

</Daniel> 
Received on Sunday, 4 March 2012 13:26:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:51 GMT