W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [css syntax] CSS Syntax and Semantic Classes

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 5 Feb 2014 07:08:01 -0800
Message-ID: <CAAWBYDAWeYDFwjsvVjs0nsrj9_RBC96GMkzXMuNUCXaPcO1fgw@mail.gmail.com>
To: Adam <adamsobieski@hotmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, Feb 5, 2014 at 2:20 AM, Adam <adamsobieski@hotmail.com> wrote:
> CSS Working Group,
> The ideas for CSS are semantic classes and style properties.  With default
> or heuristic namespaces for backwards compatibility, in the existing syntax
> the ideas could be expressed:
> <section xmlns:ext="..." class="x1 ext|x2 ..." style="x3:value1; x4:value2;
> ext|x5:value3; ...">...</section>
> The syntactic ideas facilitate:
> <section xmlns:ext="..." class="x1 ext:x2 ..." style="x3=value1; x4=value2;
> ext:x5=value3; ...">...</section>
> and topics would include interoperable XMLNS in CSS and XML.
> The benefits of CSS and semantic class names, properties and attribute
> values are numerous.  A semantic @class attribute would resemble
> @xhtml:role, @rdfa:typeof and @epub:type and semantic selectors for
> processing upon expansions of space-delimited strings, CURIE and IRI
> http://www.w3.org/TR/rdfa-syntax/#dfn-termorcurieorabsiris) would be useful.

If the benefits are numerous, it would be good to list a single one.

Regardless, though, XML namespaces have failed on the web, and have
been abandoned as much as possible while respecting
backwards-compatibility restraints.  CSS won't be adding new things
based on XML Namespaces.

Received on Wednesday, 5 February 2014 15:08:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:18 UTC