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
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:21 UTC