Pregunta

Looking at w3.org, there are heaps of specs, many of them ending in Level 3, many in Level 1, etc.

So what is CSS 3? Do we have specs for CSS 3, CSS 2, and CSS 1?

When will the CSS 3 spec be marked as complete, final, and feature-frozen?

¿Fue útil?

Solución

There is no single "CSS3" specification.

There are single specifications (W3C Recommendations) for …

CSS1:

CSS2:

But for CSS3, there is no single specification anymore. Instead, each "module" gets its own specification. For example:

From Levels, snapshots, modules…:

The CSS working group chose to adopt a modular approach for CSS beyond level 2, where each module defines a part of CSS, rather than to write a single monolithic specification. This breaks the specification into more manageable chunks and allows more immediate, incremental improvement to CSS.

You can see all specs at http://www.w3.org/Style/CSS/current-work resp. http://www.w3.org/standards/techs/css.

So when people refer to "CSS3", they typically mean: any "new" CSS specifications that came after CSS2.1.

But note that "CSS4" (which probably means: CSS, level 4) doesn’t start when all CSS3 specifications modules are complete. Each module is (from CSS level 3 on) levelled independently:

From this level on modules are levelled independently: for example Selectors Level 4 may well be defined before CSS Line Module Level 3.

Otros consejos

So what is CSS 3?

From a standards perspective, I would say that CSS 3 is anything thats designated CSS Level 3 unless otherwise defined in a lower level standard. A lot of what we call CSS 3 are still proposals. There probably is a better way to word this.

Do we have specs for CSS 3, CSS 2, and CSS 1?

When will the CSS 3 spec be marked as complete, final, and feature-frozen?

Notice where I showed above that CSS 2 had a revision over 10 years after it was first introduced, and then it got updated to 2.1 3 years later. It's going to be a LONG time before CSS 3 gets to final; and when it does finally gets to "final", I think likely parts of it will be superseded by later specifications. I also don't find it improbable that it may never happen, as this "CSS Level" concept be superseded by a better versioning system.

CSS3 is just a convenient name, really. New CSS modules are being created all the time, and they are effectively 'ready' when you can use that code in modern browsers. Some 'CSS3' modules are in common use already, such as Selectors Level 3. Developers aren't tending to wait around for for some kind of complete, final, and feature-frozen status. Instead, they head to caniuse.com and see how well various features are supported, and decide whether or not to use them on that basis.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top