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

feat(css): Implement codegen for css #2115

Merged
merged 70 commits into from
Aug 20, 2021
Merged

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Aug 20, 2021

swc_css_ast:

  • Remove unused tokens.
  • SubclassSelector::PseudoClass => SubclassSelector::Pseudo.
  • Fix AttrSelectorOp
  • AttrSelector.value: Option<Text> => Option<Str>.

swc_css_codegen:

  • Implement code generator.

swc_css_parser:

  • Implement Parse<Stylesheet> for the parser.
  • Fix parsing of pseudo selectors.
  • Fix parsing of unknown at-rules.

Closes #16

@kdy1 kdy1 modified the milestones: v1.2.80, v1.2.81 Aug 20, 2021
@kdy1 kdy1 marked this pull request as ready for review August 20, 2021 12:00
@kdy1 kdy1 enabled auto-merge (squash) August 20, 2021 12:01
@kdy1 kdy1 disabled auto-merge August 20, 2021 12:17
@kdy1 kdy1 enabled auto-merge (squash) August 20, 2021 12:18
@kdy1 kdy1 merged commit 7381644 into swc-project:master Aug 20, 2021
@kdy1 kdy1 deleted the css-codegen branch August 20, 2021 12:38
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

css support
1 participant