Skip to content

[cssom] Don't describe CSSStyleDeclaration getters/setters using "macro" Web IDL #1089

Closed
@foolip

Description

@foolip

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?

@zcorpan

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions