Comments (2)
It is not safe. Say a browser supports one of these selectors but not the other. If they are merged, the whole rule is thrown away by the browser rather than applying the supported selector. Lightning CSS has knowledge of the supported selectors of each browser and tries to merge if possible, but if it doesn't know about a selector it is conservative and keeps them separate to be on the safe side.
from lightningcss.
Right you are. I hadn't thought about that. Thank you!
from lightningcss.
Related Issues (20)
- Importing radix colors breaks build HOT 2
- 🤔disable property sorting HOT 1
- Invalid minify result of `background-position: center bottom 1px`
- light-dark() is always being replaced HOT 5
- :is() with a [] selector causes removal of is:() HOT 1
- How to recover substituted variables? HOT 2
- Nesting selector always inserted
- Support for anchor positioning HOT 1
- Line numbers in source map incorrect
- Different outputs of nested media queries
- Using both backdrop-filter and -webkit-backdrop-filter removes backdrop-filter HOT 2
- Support named timeline ranges in @keyframes
- Support the CSS Functions and Mixins draft spec
- Cannot `composeVisitors` with multiple `Rule`s HOT 1
- Segmentation fault
- `exclude` option does not work as expected
- 1.26.0 tag/release mis-match HOT 1
- sourceMappingURL includes full file path which breaks sourcemaps
- Duplicate CSS selectors in bundle
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.