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

Re: [css syntax] CSS Syntax and Semantic Classes

From: Adam <adamsobieski@hotmail.com>
Date: Wed, 5 Feb 2014 10:20:17 +0000
Message-ID: <SNT405-EAS3293DFF91A5D3065B237706C5950@phx.gbl>
To: "www-style@w3.org" <www-style@w3.org>
CC: "jackalmage@gmail.com" <jackalmage@gmail.com>
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

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