Re: [css syntax] CSS Syntax and Semantic Classes

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
> (TERMorURIorCURIEs,
> 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.

~TJ

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