Skip to content

v0.0.45 - Round 17

Choose a tag to compare

@TheJaredWilcurt TheJaredWilcurt released this 19 Oct 17:22
· 47 commits to main since this release
19deb9a

Code and release notes by GPT-6.1 Sol High Thinking:

Fixes And Improvements

  • Improved rule merging and nesting: reconsider merges when blocking rules move, optimize children of merged media queries, flatten redundant & wrappers safely, and shorten repeated parent selectors to forms such as &&.
  • Discard malformed selectors before they can invalidate valid rules during merging, including unquoted attribute spaces, invalid :lang() arguments, double pipes, and misplaced colons. Preserve escaped syntax and forgiving selector lists.
  • Reduce repeated descendant selectors with :is() when specificity is unchanged. Consolidate matching legacy :-moz-any(), :-webkit-any(), and :matches() variants while preserving standalone vendor-specific rules.
  • Improve border minification by shortening currentcolor to initial where equivalent and combining border components with per-edge overrides while respecting importance and reset hazards.
  • Improve font shorthand minification: convert bold to 700, remove unnecessary family-name quotes, and preserve names requiring quotes. Prevent color-like family names such as Arial Black from being rewritten as colors.
  • Use scientific notation for dimensions and percentages when shorter, preserving tiny values that would otherwise lose precision. Keep unitless integers, strings, URLs, and custom-property token streams unchanged by this optimization.