-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cssom][css-images] CSS.elementSources incompatible with CSS being an IDL namespace #428
Comments
AFAICT that specification is wrong anyway, because it's an attribute so CSS.elementSources.set('fancy', bg); Which clearly is trying to use |
Yep, indeed. On a related note |
The use of Anyway, we could add attribute support to namespaces. We just didn't have any use cases so far, and it's hard to design in a vacuum.... |
Web IDL added support for namespaces in whatwg/webidl#121 elementSources in css-images-4 is commented out for now because IDL namespaces don't support attributes yet, see w3c#428. Fixes part of https://www.w3.org/Bugs/Public/show_bug.cgi?id=29623
Yeah, that spec version is way out of date and needs to get some stuff dropped. |
From https://www.w3.org/Bugs/Public/show_bug.cgi?id=29623
https://drafts.csswg.org/css-images-4/#elementsources
reads
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?The text was updated successfully, but these errors were encountered: