Comments (2)
Thanks for letting us know, this is alarming, going to see if there's some improvements we can make.
from css.
This is due to supporting the ::backdrop
selector, which does not inherit from :root
in older browsers, requiring us to duplicate all of our variables into that selector. All the latest browsers now do inherit ::backdrop
from :root
but we still need to support older browsers, and so we'll need to continue this duplication for the next few years. They also need to be separate selectors because some very old browsers will throw away the whole selector if they don't recognise ::backdrop
and so those very old browsers will lose all colour information.
While this increases size on disk, the gzip size (as in the over-the-wire size) isn't significantly impacted as it is duplicate data. I don't have the figures to hand but the total size increase is likely less than 1kb when gzipped. CSS is also very quick to parse so it's unlikely to add more than, say, 1ms to browser parse times.
Given the above reasons, I think we'll close this issue now as there's nothing directly actionable we can do. However in a few years when ::backdrop
inheriting is better supported we can drop the duplicate data.
from css.
Related Issues (20)
- Replace deprecated `set-output` command with environment file HOT 1
- syntax highlighting doesn't work HOT 1
- Bug de tradutor
- > **Warning**
- canvas { position: absolute; top: 0; left: 0; } p { margin: 0 0; position: absolute; font: 16px Verdana; color: #eee; height: 25px; top: calc( 100vh - 30px ); text-shadow: 0 0 2px white; } p a { text-decoration: none; color: #aaa; } span { font-size: 11px; } p > a:first-of-type { font-size: 20px; } body { overflow: hidden; }
- SS_BUG REPORT
- In the scope of this PR, configuration files should be updated to match examples stored in the [reusable-workflows](https://github.com/actions/reusable-workflows/tree/main/reusable-configurations) repository.
- backup of old docs are dead HOT 2
- [email protected]
- Code blocks not distinguishable in markdown tables HOT 2
- Primecss
- Create a calculator
- Tay HOT 1
- Scroll Bar coming in between the Settings Button HOT 4
- script dev is missing from package.json
- Menu on GitHub disappears into top of screen on mobile HOT 3
- Doing find-in-page for text in GitHub PR/issue pages doesn’t cause expected auto-expansion of closed “details” elements that have matches HOT 2
- iPhone
- Primitives variables missing in bundled css HOT 7
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 css.