Skip to content

fix: deduplicate prefixes for unparsed text properties - #4

Merged
intellild merged 2 commits into
masterfrom
codex/dedupe-unparsed-text-prefixes
Oct 22, 2026
Merged

intellild merged 2 commits into
masterfrom
codex/dedupe-unparsed-text-prefixes

Conversation

@intellild

Copy link
Copy Markdown
Collaborator

Ports parcel-bundler/lightningcss#1334. Preserves all 1 original upstream commit with their original SHAs and authors, then adds a merge commit integrating rstackjs master (5aec9d4).

Combine prefix flags on adjacent unparsed text declarations with identical properties and token values, preserving different values, importance, and intervening overrides.

For example, with Safari 14.1 as the target, -webkit-text-decoration: underline var(--color); text-decoration: underline var(--color) previously gained another identical WebKit declaration on every minification pass. Emit the prefixed declaration once and retain the unprefixed declaration.

Validation on the resulting tree:

  • cargo test --all-features --locked: passed, including integration tests and doctests.
  • git diff --check: passed.

The first test run failed in the unchanged bundler::tests::test_bundle because its media query order was screen, print instead of print, screen; the complete rerun passed.


by OpenAI Codex

SyMind and others added 2 commits September 8, 2026 15:45
Preserve the original commits from parcel-bundler#1334.
Integrate the change with rstackjs/lightningcss master (5aec9d4),
retaining the fork package configuration and existing regression tests.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T02:59:00.038891Z 7c9e3f0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codspeed

codspeed Bot commented Oct 22, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 8 untouched benchmarks


Comparing codex/dedupe-unparsed-text-prefixes (7c9e3f0) with master (5aec9d4)

Open in CodSpeed

@intellild
intellild merged commit ec96a51 into master Oct 22, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants