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

Add @import layer() #18461

Merged
merged 1 commit into from Dec 20, 2022
Merged

Conversation

ddbeck
Copy link
Collaborator

@ddbeck ddbeck commented Dec 20, 2022

Summary

This adds a single subfeature to @import for the layer function.

Test results and supporting details

I tested this manually to confirm that it works. This isn't surprising, since it matches the data for @layer.

I added a single feature, though I'm not 100% certain if that's the right call. There's also a layer keyword that creates an anonymous layer. The question is: conceptually, is this a single function called with or without an argument? Or is this distinctly two features: a keyword and a function?

I'm not 100% certain and I'd like a review that specifically confirms the answer to that question.

@github-actions github-actions bot added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Dec 20, 2022
This adds a single subfeature to `@import` for the `layer` function. I
added a single feature, though I'm not 100% certain if that's the right
call. There's also a `layer` keyword that creates an anonymous layer.
Conceptually, is this a single function called with or without an
argument? Or is this distinctly two features: a keyword and a function?
I'm not 100% certain and I'd like a review that addresses that question.
@ddbeck ddbeck force-pushed the add-css-at-rule-import-layer branch from 75cc7db to a9f4d45 Compare December 20, 2022 17:33
@queengooborg queengooborg merged commit 0e5f280 into mdn:main Dec 20, 2022
@ddbeck ddbeck deleted the add-css-at-rule-import-layer branch December 21, 2022 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants