CSS WG Blog CSS Syntax Level 3 Candidate Recommendation

This is a page from the Cascading Style Sheets Working Group Blog. Some other places to find information are the “current work” page, the www-style mailing list, the Future of CSS syndicator, and the issue list on Github.

Do you want to know how the CSS WG works? Fantasai has written about:csswg, An Inside View of the CSS Working Group at W3C.

CSS Syntax Level 3 Candidate Recommendation

By Simon Sapin March 1, 2014 (Permalink)
Categories: publications

The CSS WG has published a Candidate Recommendation of the CSS Syntax Module Level 3. This module describes, in general terms, the basic structure and syntax of CSS stylesheets. It defines, in detail, the syntax and parsing of CSS – how to turn a stream of bytes into a meaningful stylesheet.

This is a complete rewrite of the obsolete 2003 draft. It describes CSS tokenization and parsing in imperative recursive descent style, and exhaustively covers error handling. Additionally, the An+B syntax used in :nth-child() and related Selectors is now described in terms of the same tokenizer as the rest of CSS.

Changes since the Last Call Working Draft are listed in the Changes section.

As always, please send feedback to the (archived) public mailing list www-style@w3.org with the spec code ([css-syntax]<<) and your comment topic in the subject line. (Alternatively, you can email one of the editors and ask them to forward your comment.)

« Previous article Next article »

[Photo: group photo of the CSS working group in Lyon, France] Contact: Bert Bos
Copyright © 2017 W3C®

Last updated 2014-03-01 09:50:38