Skip to content
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

[css-images-4] Should CSS.elementSources be considered at risk? #9372

Open
cdoublev opened this issue Sep 18, 2023 · 0 comments
Open

[css-images-4] Should CSS.elementSources be considered at risk? #9372

cdoublev opened this issue Sep 18, 2023 · 0 comments

Comments

@cdoublev
Copy link
Collaborator

Can you please clarify if you plan to drop CSS.elementSources? or even image()?

CSS.elementSources was hidden before #3572, which defined it with any as its type.

partial namespace CSS {
 [SameObject] readonly attribute any elementSources;
};

In #428, fixed by the above PR:

that spec version is way out of date and needs to get some stuff dropped.

If it should not be dropped, is there a reason to not define it as a maplike?

EXAMPLE 13

<script>
  var bg = document.createElement('canvas');
  CSS.elementSources.set('fancy', bg);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant