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

v0.0.1 #3

Closed
19 of 20 tasks
tbela99 opened this issue May 28, 2023 · 0 comments
Closed
19 of 20 tasks

v0.0.1 #3

tbela99 opened this issue May 28, 2023 · 0 comments
Milestone

Comments

@tbela99
Copy link
Owner

tbela99 commented May 28, 2023

Minification

  • merge identical rules
  • merge adjacent rules
  • minify colors
  • compute shorthand: border-radius, border-width, margin, padding
  • remove redundant declarations
  • simple shorthand properties (padding, margin, etc). must have all required properties
  • complex shorthand properties (background, font, etc.). may have optional properties
  • conditionally unwrap :is()
  • automatic css nesting
  • automatically wrap selectors using :is()
  • multi-level shorthand properties (border - [border-width, border-color, etc.]) https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties
  • avoid reparsing (declarations, selectors, at-rule)
  • avoid rerendering (declarations, selectors, at-rule)
  • node and browser versions
  • decode and replace utf-8 escape sequence

Performance

Testing

  • node tests
  • browser tests

Code Coverage

  • node
  • browser
@tbela99 tbela99 added this to the v0.0.1 milestone May 28, 2023
tbela99 added a commit that referenced this issue May 29, 2023
tbela99 added a commit that referenced this issue Jun 14, 2023
tbela99 added a commit that referenced this issue Jun 17, 2023
tbela99 added a commit that referenced this issue Jun 17, 2023
tbela99 added a commit that referenced this issue Jun 20, 2023
tbela99 added a commit that referenced this issue Jul 6, 2023
tbela99 added a commit that referenced this issue Jul 15, 2023
tbela99 added a commit that referenced this issue Jul 29, 2023
@tbela99 tbela99 closed this as completed in 85d79d4 Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant