Comments (2)
Yeah you are correct. Another way to do it would be .foo .bar:is(div)
or .foo div.bar
. There's some complicated logic to deal with type selectors, which must always come first in a selector, so probably a bug in that somewhere. I'll look into it soon. Thanks for the report!
from lightningcss.
@devongovett :is()
is way too new (Chrome >= 88) a syntax to use when targeting browsers like Chrome 55, which is still quite common among android devices in China.
from lightningcss.
Related Issues (20)
- how can I fixed it HOT 2
- customizing variables generated by `light-dark` transform HOT 1
- Improperly unprefixing -webkit-box-orient when in a @supports block
- Transpilation generates unnecessary fallback inside `@support`
- Trying to create a bug reproduction but running into `InvalidArg` HOT 2
- Unable to obtain Px in LengthUnit HOT 11
- (config question, not a bug) Config: default + Safari 14 support HOT 4
- LightningCSS doesn't recognize currentcolor as valid value HOT 1
- Variable Visitor Wrong Transform HOT 1
- Error: Cannot find module 'lightningcss.win32-arm64-msvc.node'
- A message about ignoring properties like postcss HOT 1
- Minifier Breaks Black Translucent Colors HOT 2
- Using Lightning as a code generator HOT 1
- Moving back to upstream `selectors`? HOT 2
- transcribes OKLCH poorly HOT 1
- Sourcemap @include paths not updated HOT 2
- Allow use of "resolver" when using through vite HOT 1
- Minification strips required whitespace between consecutive `var(...)` calls HOT 3
- Color value format HOT 4
- Lightningcss randomly drops a selector, breaking styling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightningcss.