- From: Marat Tanalin | tanalin.com <mtanalin@yandex.ru>
- Date: Wed, 18 Jan 2012 20:34:28 +0400
- To: Sylvain Galineau <sylvaing@microsoft.com>
- Cc: David Woolley <forums@david-woolley.me.uk>,www-style@w3.org
18.01.2012, 20:02, "Sylvain Galineau" <sylvaing@microsoft.com>: > [Marat Tanalin:] > >> 18.01.2012, 03:59, "Sylvain Galineau" <sylvaing@microsoft.com>: >>> [Marat Tanalin:] >>>> 17.01.2012, 12:18, "David Woolley" <forums@david-woolley.me.uk>: >>>>> Marat Tanalin | tanalin.com wrote: >>>>>> Hello. It makes sense to allow @import at any place in CSS >> stylesheet. >>>>> Regardless of any reasons for the original decision, this sort of >>>>> change is extremely likely to produce style sheets that do not >>>>> degrade >>>>> gracefully on older browsers (some of which may be fixed in >>>>> silicon), >>>>> so it would not be safe to use on the public internet for about a >>>>> decade after introduction. >>>>> >>>>> -- >>>>> David Woolley >>>>> Emails are not formal business letters, whatever businesses may want. >>>>> RFC1855 says there should be an address here, but, in a world of >>>>> spam, >>>>> that is no longer good advice, as archive address hiding may not work. >>>> This is obvious, and such comments are completely useless here. >>> No, this is not a 'useless' comment. CSS must allow older parsers to >>> ignore old features in such a way that you can add new features in >>> your existing stylesheet without breaking your site in older browsers. >>> So no, we do not have the luxury of ignoring the past and doing >>> whatever we want to the syntax. >> @import between and after rules is successfully ignored by all browsers >> including even IE6, and rest part of stylesheet is successfully parsed and >> applied. So your current note is apparently purely theoretical (though >> generally somewhat reasonable). > > You made a general comment about a type of comment being 'useless' and implied > that the design of future features should not care about existing browsers. The > latter is absolutely untrue and not at all theoretical. That was the context of my > response. In case of it was not clear enough yet: my goal is not to find a solution for a specific task. Instead, my goal is to improve CSS itself. Saying that a feature is currently unsupported is incredibly pointless since (surprise!) I know that. The feature is unsupported, and that's exactly why I propose to add this to spec (which eventually means it will be implemented in browsers). If it would be supported currently, then I would not make the proposal to add it to spec, since, well, it's already supported. As for the paradigm "the sooner we add a feature, the sooner we'll be able to use it". Let's assume that we've introduced a feature that (edge case) even breaks current browsers (for @import it's not a case). Several years later, old browsers are gone, and we are finally able to use the feature that we added to spec _in advance_. What is bad here? Nothing. At the contrary, it's farsighted approach that helps us to progress. Another option is to do nothing, close W3, WHATWG, etc, and be happy with what we currently have -- forever.
Received on Wednesday, 18 January 2012 16:35:06 UTC