Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specs for the handling of unit in for loops #1617

Merged
merged 2 commits into from
Jan 20, 2021
Merged

Conversation

stof
Copy link
Contributor

@stof stof commented Jan 12, 2021

Currently includes commits from #1615. This will get cleaned once it is merged.

Closes #1616

skip dart-sass

@stof stof changed the title [WIP] Add specs for the handling of unit in for loops Add specs for the handling of unit in for loops Jan 13, 2021
@stof stof marked this pull request as ready for review January 13, 2021 07:53
<===> unit/to_unitless/options.yml
---
:todo:
- libsass
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the libsass behavior is to require the same unit rather than requiring compatible units. That's why these 3 specs are marked as TODO. I haven't created an issue on libsass for that given that it is deprecated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should probably be ignore_for rather than todo since there's on expectation that LibSass will support them in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.
Maybe the readme should be updated for its explanation of ignore_for as it is described as being used for deprecated features removed from modern implementation, not for modern features ignored for deprecated implementations. That's why I chose todo initially.

@nex3 nex3 merged commit a74ad63 into sass:master Jan 20, 2021
@stof stof deleted the for_unit branch January 20, 2021 09:54
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.

Adds specs for the handling of units in for loops
2 participants