Skip to content

Detect and follow CSS @import directives #416

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

Open
mbostock opened this issue Dec 21, 2023 · 2 comments · May be fixed by #474
Open

Detect and follow CSS @import directives #416

mbostock opened this issue Dec 21, 2023 · 2 comments · May be fixed by #474
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

If you have

<style type="text/css">
@import url("./test.css");
</style>

we should detect this as a file attachment and have it function correctly, as we already do for <link>. In addition, we should follow transitive CSS imports. Related #415.

@mbostock mbostock added the enhancement New feature or request label Dec 21, 2023
@mbostock mbostock self-assigned this Jan 10, 2024
@mbostock mbostock linked a pull request Jan 10, 2024 that will close this issue
2 tasks
@mbostock mbostock added this to the Future milestone Jan 16, 2024
@mbostock mbostock removed their assignment Jan 23, 2024
@mbostock mbostock removed this from the Future milestone Mar 24, 2024
@mbostock
Copy link
Member Author

mbostock commented Apr 3, 2024

Related #659.

@Fil
Copy link
Contributor

Fil commented Apr 3, 2024

Ideally this would help importing npm:leaflet/dist/leaflet.css (or some other npm file) fromstyle.css (was #1195)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants