-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Conflict Resolutions with Media Queries.
This fixes two bugs: 1. Conlict resolution was skipping resolution rules if the resolved selector was the same, but this missed the use case where the selector could be in a conditional at-rule. I removed the deduplication. Fixing this uncovered the second issue. 2. We were only preserving the conditional at-rule context on the local side of the conflict resolution. If the conditional was on the remote side of the conflict that context was being lost. To fix this, we now clone the conditional at-rules that form the context of the remote selector into the local stylesheet around the resolution rule. Closes #372.
- Loading branch information
1 parent
488e23e
commit c189613
Showing
3 changed files
with
111 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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