Nested @supports doesn't seem to work
See original GitHub issueLess:
.foo() {
font-weight: 300;
-webkit-font-smoothing: subpixel-antialiased;
@supports not (-webkit-font-smoothing: subpixel-antialiased) {
font-weight: 400;
}
}
html {
.foo;
}
Generated CSS:
html {
font-weight: 300;
-webkit-font-smoothing: subpixel-antialiased;
}
@supports not (-webkit-font-smoothing: subpixel-antialiased) {
font-weight: 400;
}
Expected CSS:
html {
font-weight: 300;
-webkit-font-smoothing: subpixel-antialiased;
}
@supports not (-webkit-font-smoothing: subpixel-antialiased) {
html {
font-weight: 400;
}
}
Issue Analytics
- State:
- Created 10 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Doesn't seem to work in Nested Forms - WordPress.org
Anyone else having this problem? maybe because I have a lot of Address fields, I get a console error with nested form field...
Read more >Why are nested functions not supported by the C standard?
This is because nested function definitions don't have access to the local variables of the surrounding block -- only to the globals of...
Read more >Can't connect Nest thermostat to the app - Google Support
Can't connect Nest thermostat to the app · 1. Make sure your internet service is working · 2. Check your app version ·...
Read more >Runner: Data load from CSV doesn't seem to work with nested ...
I'm working with a few API calls that use nested elements in their bodies -- i.e. in this sort of shape: { "parent"...
Read more >CSS Nesting Module - W3C
Abstract. This module introduces the ability to nest one style rule inside another, with the selector of the child rule relative to the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Workaround for people stuck on older versions of less:
Use the
@supports
directive outside of all your code. E.g.:Related to #2104