Re: [css syntax] CSS Syntax and Semantic Classes

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.​










Kind regards,


Adam Sobieski

Received on Wednesday, 5 February 2014 11:46:53 UTC