Skip to content

[cssom][css-images] CSS.elementSources incompatible with CSS being an IDL namespace #428

Closed
@zcorpan

Description

@zcorpan

From https://www.w3.org/Bugs/Public/show_bug.cgi?id=29623

https://drafts.csswg.org/css-images-4/#elementsources

reads

partial interface CSS {
  [SameObject] readonly attribute Map elementSources;
};

If we switch CSS over to be IDL namespace instead of interface, it can only use operations, not attributes, as far as I can tell.

elementSources is not implemented anywhere, is it? Should we change it to an operation when switching to IDL namespace? Or should namespaces be able to use attributes in Web IDL?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions