Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In a PostCSS transform,
selector({ nodes })renders its children without setting theirparent. Callingobsolete.remove()in this example leaves.obsolete.keptin the output instead of.kept.Set the parent for supplied children that do not have one. A selector constructed for preview can still reuse an attached node while its original selector owns it. The regressions exercise removal in both cases.
On macOS, 1,159 unit tests and five property test groups passed on both Node 22.23.5 and 26.13.1. Lint and typecheck passed.
Implemented and tested with OpenAI Codex (
gpt-6.2-sol).