Closed
Description
CSSOM has the following bits of problematic Web IDL:
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?