Repository navigation
v0.0.45 - Round 17
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
currentcolortoinitialwhere equivalent and combining border components with per-edge overrides while respecting importance and reset hazards. - Improve font shorthand minification: convert
boldto700, remove unnecessary family-name quotes, and preserve names requiring quotes. Prevent color-like family names such asArial Blackfrom 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.