-
Notifications
You must be signed in to change notification settings - Fork 191
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
feat: add @container
at-rule
#853
base: main
Are you sure you want to change the base?
Changes from all commits
e924dd1
067b698
2e8f177
ba5fd47
8754943
1b3c5d7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -206,6 +206,39 @@ | |||||||||||||||||||||||||
"conic-gradient()": { | ||||||||||||||||||||||||||
"syntax": "conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"container-name": { | ||||||||||||||||||||||||||
"syntax": "<custom-ident>" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"container-query": { | ||||||||||||||||||||||||||
"syntax": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"query-in-parens": { | ||||||||||||||||||||||||||
"syntax": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"style-query": { | ||||||||||||||||||||||||||
"syntax": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature> " | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"style-in-parens": { | ||||||||||||||||||||||||||
"syntax": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"scroll-state-query": { | ||||||||||||||||||||||||||
"syntax": "not <scroll-state-in-parens> | <scroll-state-in-parens> [ [ and <scroll-state-in-parens> ]* | [ or <scroll-state-in-parens> ]* ] | <scroll-state-feature> " | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"scroll-state-in-parens": { | ||||||||||||||||||||||||||
"syntax": "( <scroll-state-query> ) | ( <scroll-state-feature> ) | <general-enclosed>" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"scroll-state-feature": { | ||||||||||||||||||||||||||
"syntax": "<media-feature>" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"size-feature": { | ||||||||||||||||||||||||||
"syntax": "<media-feature>" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
Comment on lines
+230
to
+235
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||
"style-feature": { | ||||||||||||||||||||||||||
"syntax": "<declaration>: <declaration-value> | <custom-property-name>: <declaration-value>" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
Comment on lines
+236
to
+238
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also the custom-property? |
||||||||||||||||||||||||||
"container-condition": { | ||||||||||||||||||||||||||
"syntax": "[ <container-name>? <container-query>? ]!" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
"content-distribution": { | ||||||||||||||||||||||||||
"syntax": "space-between | space-around | space-evenly | stretch" | ||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is better to make those syntaxes by alphabet order