- From: Cameron McCormack <cam@mcc.id.au>
- Date: Tue, 15 Jul 2014 10:25:47 +1000
- To: "Tab Atkins Jr." <jackalmage@gmail.com>, Domenic Denicola <domenic@domenicdenicola.com>
- CC: Brian Birtles <bbirtles@mozilla.com>, "public-fx@w3.org" <public-fx@w3.org>, Boris Zbarsky <bzbarsky@mit.edu>
On 15/07/14 10:12, Tab Atkins Jr. wrote: > I'm currently using a dictionary for an attribute in the CSS Color > spec, too: <http://dev.w3.org/csswg/css-color/#api-RGBColor> > > We should figure out what to do about this. The current leading plan is to enable dictionary-typed attributes using something like Gecko's [Cached] extended attribute, which indicates that the same value keeps getting returned until something explicitly invalidates it, after which getting the attributes will return a newly constructed dictionary value. Not sure about the IDL syntax yet (or really whether it should be a separate concept from "dictionaries", since dictionaries are currently (abstractly) pass-by-value structures but what we want here is a reference to an object with a particular structure).
Received on Tuesday, 15 July 2014 00:26:20 UTC