[csswg-drafts] [cssom] Don't describe CSSStyleDeclaration getters/setters using "macro" Web IDL

foolip has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] Don't describe CSSStyleDeclaration getters/setters using "macro" Web IDL ==
CSSOM has the following bits of problematic Web IDL:

```WebIDL
partial interface CSSStyleDeclaration {
  [CEReactions, TreatNullAs=EmptyString] attribute DOMString _camel_cased_attribute;
};

partial interface CSSStyleDeclaration {
  [CEReactions, TreatNullAs=EmptyString] attribute DOMString _webkit_cased_attribute;
};

partial interface CSSStyleDeclaration {
  [CEReactions, TreatNullAs=EmptyString] attribute DOMString _dashed_attribute;
};
```

This cannot be copied verbatim into implementations or to idlharness.js, and is therefore more "inspiration" than concrete Web IDL. The reason I'm noticing is that we're comparing all of Blink's IDL to all of the specs it links to and it looks like we have a non-standard getter and setter. Those are what implements this.

Would it be possible to define all of this using getters and setters?

@zcorpan 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1089 using your GitHub account

Received on Thursday, 9 March 2017 02:54:46 UTC