fix(issue:4267) support starting-style at-rule#4289
fix(issue:4267) support starting-style at-rule#4289puckowski wants to merge 1 commit intoless:masterfrom
Conversation
* Add support for ```@starting-style``` at-rule now that browser support is broader.
|
I submitted a few PRs. I expect rebase(s) will be needed in order to merge all of them, so let me know when a rebase is needed. |
|
PR #4302 should resolve a semi-related issue with nesting of at-rules such as |
|
See the comments here. The TL;DR is that at-rules should, in general, not be distinct nodes. There may be some sub-types of at-rules that have "combination" behavior, but there's nothing special about |
|
I worked on a new implementation to add support for Passes all tests, though I have to do some cleanup and further code review before I send along a new PR. |
|
Going to close this in favor of #4333 per above comments. |
What:
This pull request resolves issue #4247 by fixing
@starting-styleat-rule nesting.Why:
Users of Less.js may wish to use newer features of CSS supported by newer versions of most browsers. Estimated support for
@starting-styleis 84.76%+ (https://caniuse.com/mdn-css_at-rules_starting-style).Checklist:
Bundle size:
Less.js
4.2.1minified is 151,936 bytes.With PR merged Less.js bundle minified becomes 155,088 bytes.
Delta: 3,152 bytes
Lines of code delta: 275 added (including tests)
The following Less:
becomes: