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 12:35:32 +0000
Message-ID: <SNT405-EAS289E553AD7E86BDAEC1489DC5950@phx.gbl>
To: "www-style@w3.org" <www-style@w3.org>
CC: "jackalmage@gmail.com" <jackalmage@gmail.com>
CSS Working Group,

Regardless of syntax, the ideas pertain to some API, DOM and CSSOM, topics including CSSStyleDeclaration:

interface CSSStyleDeclaration {
  attribute DOMString cssText;
  readonly attribute unsigned long length;
  getter DOMString item(unsigned long index);
  DOMString getPropertyValue(DOMString property);
  DOMString getPropertyValueNS(DOMString? namespace, DOMString localName);
  DOMString getPropertyPriority(DOMString property);
  DOMString getPropertyPriorityNS(DOMString? namespace, DOMString localName);
  void setProperty(DOMString property, [TreatNullAs=EmptyString] DOMString value, [TreatNullAs=EmptyString] optional DOMString priority = "");
  void setPropertyNS(DOMString? namespace, DOMString localName, [TreatNullAs=EmptyString] DOMString value, [TreatNullAs=EmptyString] optional DOMString priority = "");
  void setPropertyValue(DOMString property, [TreatNullAs=EmptyString] DOMString value);
  void setPropertyValueNS(DOMString? namespace, DOMString localName, [TreatNullAs=EmptyString] DOMString value);
  void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DOMString priority);
void setPropertyPriorityNS(DOMString? namespace, DOMString localName, [TreatNullAs=EmptyString] DOMString priority);
  DOMString removeProperty(DOMString property);
  DOMString removePropertyNS(DOMString? namespace, DOMString localName);
  readonly attribute CSSRule? parentRule;
           attribute DOMString cssFloat;

There are two separate topics: (1) namespace-prefixed or semantic class names and property names, which include some API subtopics, DOM and CSSOM and (2) CSS selectors and syntax for conveniently styling based upon expansions of space-delimited strings, CURIE and IRI (TERMorURIorCURIEs, http://www.w3.org/TR/rdfa-syntax/#dfn-termorcurieorabsiris), attributes such as @xhtml:role, @rdfa:typeof and @epub:type .

Kind regards,

Adam Sobieski‚Äč
Received on Wednesday, 5 February 2014 13:43:43 UTC

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