- From: Glenn Adams <glenn@skynav.com>
- Date: Wed, 19 Sep 2012 10:56:26 +0800
- To: John Daggett <jdaggett@mozilla.com>
- Cc: www-style list <www-style@w3.org>
Received on Wednesday, 19 September 2012 02:57:14 UTC
interface CSSDescriptors { readonly attribute unsigned long length; DOMString item(unsigned long index); getter DOMString(DOMString name); setter void(DOMString name, DOMString value); stringifier; } interface CSSRuleWithDescriptors : CSSRule { readonly attribute CSSDescriptors descriptors; } interface CSSFontFaceRule : CSSRuleWithDescriptors { getter DOMString(DOMString name); setter void(DOMString name, DOMString value); } i've updated the above to remove {get,set}Descriptors and make the getter/setters anonymous i propose defining CSSDescriptors and CSSRuleWithDescriptors in CSSOM, and CSSFontFaceRule in CSS3 Fonts; i'm not particularly tied to the names if someone prefers something different; the prose definition of CSSFontFaceRule would need to normatively define the set of property names on which getter/setter operate, e.g., The set of property names supported by the inherited descriptors property > must include the font face descriptors defined in this specification as *mapped > to camel-case names.* where *mapped to camel-case names* is to be a added as defined algorithm in CSSOM comments? > >
Received on Wednesday, 19 September 2012 02:57:14 UTC