Re: [web-animations] Readonly interfaces and inheritance: seeking advice

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