the first goddamn thing i have written in over a year, and also the longest by filesize old css, new css — a heartfelt jaunt through the history of css and website design, at least as i remember ithttps://eev.ee/blog/2020/02/01/old-css-new-css/ …
-
Show this thread
-
Replying to @eevee
some fun things about vendor prefixes: not only are some -webkit prefixes implemented by all browsers today, they have been reluctantly *standardized* because there are too many sites that use them https://compat.spec.whatwg.org/
2 replies 0 retweets 15 likes -
Replying to @ManishEarth @eevee
also: some prefixes are strictly more powerful than the thing they replace, but they still count as the same property, which means in Firefox you can set a `transform` value that isn't actually standard by using `-moz-transform` with percentages.
1 reply 0 retweets 1 like -
Replying to @ManishEarth @eevee
also, yeah, :has() has perf issues, it's the only selector that lets you gate on things down the tree from the selected element, which completely breaks incremental styling and would carry massive perf hits whenever you touch any DOM element ever
2 replies 0 retweets 2 likes -
Replying to @ManishEarth @eevee
(relayout and restyle are /why/ "Javascript is slow", JS is pretty fast, but every time you poke the DOM the browser needs to recompute style and layout, which is slower, even if it's incremental. throwing out incremental restyle/relayout would make it agonizingly slow)
1 reply 0 retweets 2 likes
Have y'all considered writing this in Rust? I hear that makes things faster
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.