W3C home > Mailing lists > Public > www-style@w3.org > September 2005

block-based parsing?

From: Dominique Hazaël-Massieux <dom@w3.org>
Date: Tue, 13 Sep 2005 15:50:24 +0200
To: www-style@w3.org
Message-Id: <1126619424.9926.57.camel@cumulustier>

I know there has been some recent discussions on how and why CSS should
have a versioning system [1], and I also understand that the CSS Working
Group isn't keen into using versioning.

While I mostly agree with the commenters about the usefulness of having
versioning in the CSS style sheets, I'm wondering whether the group has
considered an alternative solution (detailed below), which would not
solve all the issues raised by the lack of versioning, but would at
least help authors writing CSS across levels.

Most of CSS techniques today deal with how using the various bugs in CSS
parsers to get such or such a rule applied. I was wondering whether the
idea behind that could actually be incorporated into the spec with an
at-rule parsing command, à la @mustUnderstand.

Namely, such a rule would require a parser to skip the entire block
contained into the @mustUnderstand scope if there is at least one rule
it can't parse or containing a property it doesn't know.

This would make it much easier to create style sheets that incorporate
properties or syntax elements defined in later versions of CSS. It
wouldn't solve all the problems, but would certainly help in many cases.



1. http://lists.w3.org/Archives/Public/www-style/2005Aug/0252.html
and http://lists.w3.org/Archives/Public/www-style/2005Aug/0246.html for
Dominique Hazaël-Massieux - http://www.w3.org/People/Dom/

Received on Tuesday, 13 September 2005 13:51:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:20 UTC