Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: utooland/lightningcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: parcel-bundler/lightningcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 19 files changed
  • 5 contributors

Commits on Feb 18, 2026

  1. fix(color-scheme): for unknown keywords, output them as-is instead of…

    … `normal` (parcel-bundler#1152)
    
    - Rework `ColorScheme::parse` to consume only known keywords (`normal`, `only`, `light`, `dark`)
    instead of swallowing unknown idents. This lets `Property::parse` fail `expect_exhausted` and
    fall back to `Property::Unparsed`, so values like `inherit`, `unset`, and unknown identifiers are
    kept and serialized as-is rather than being normalized to `normal`.
    - Also fix `ColorScheme::to_css` to serialize `only` without a leading space when it appears alone.
    yisibl authored Feb 18, 2026
    Configuration menu
    Copy the full SHA
    3136cbb View commit details
    Browse the repository at this point in the history
  2. feat: improved serialization of the rotate property (parcel-bundler…

    …#1147)
    
    This PR refactors the serialization of the `rotate` property value according to the CSS Transforms 2 specification.
    
    Previously, `rotate: 0deg` was incorrectly serialized as `rotate: none`. The specification clearly states that `rotate: 0deg` creates a stacking context and containing block, while `rotate: none` does not.
    
    See Demo: https://codepen.io/yisi/pen/QwEJEmr?editors=0100
    
    > All three properties accept (and default to) the value none, which produces no transform at all. In particular, this value does not trigger the creation of a stacking context or containing block for all descendants, while all other values (including “identity” transforms like translate: 0px) create a stacking context and containing block for all descendants, per usual for transforms.
    > https://drafts.csswg.org/css-transforms-2/#valdef-translate-none
    
    This PR fixes this issue and also provides additional compression benefits.
    
    - `minify_test(".foo { rotate: -0deg }", ".foo{rotate:0deg}");`
    - `minify_test(".foo { rotate: z 10deg }", ".foo{rotate:10deg}");`
    - `minify_test(".foo { rotate: 0 0 1 10deg }", ".foo{rotate:10deg}");`
    - `minify_test(".foo { rotate: 10deg 0 0 -1 }", ".foo{rotate:-10deg}");`
    
    Fixes: parcel-bundler#1136
    yisibl authored Feb 18, 2026
    Configuration menu
    Copy the full SHA
    89d56f6 View commit details
    Browse the repository at this point in the history
  3. fix: keep a single space between functions when formatting `transform…

    …` values (parcel-bundler#1145)
    
    - insert exactly one space between adjacent transform functions in non-minified output
    - keep minified output unchanged
    yisibl authored Feb 18, 2026
    Configuration menu
    Copy the full SHA
    3fa29c7 View commit details
    Browse the repository at this point in the history
  4. Add mix-blend-mode property support (parcel-bundler#1148)

    Add typed parsing for the mix-blend-mode CSS property using a BlendMode
    enum with all 18 standard blend mode keywords from the CSS Compositing
    spec. Previously this property fell through to the generic custom
    property handler.
    
    Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
    ElirazKed and claude authored Feb 18, 2026
    Configuration menu
    Copy the full SHA
    da5b491 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2026

  1. Configuration menu
    Copy the full SHA
    4fe3a4b View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2026

  1. Configuration menu
    Copy the full SHA
    96c5c6d View commit details
    Browse the repository at this point in the history
Loading