CSS box-shadow Can Slow Down Scrolling
nerds.airbnb.com
CSS box-shadow Can Slow Down Scrolling
1–10 of 15 posts
Re: CSS box-shadow Can Slow Down Scrolling
#2Re: CSS box-shadow Can Slow Down Scrolling
#3Uhmm, no, really ?
Re: CSS box-shadow Can Slow Down Scrolling
#4Re: CSS box-shadow Can Slow Down Scrolling
#5http://bit.ly/vbeCPM http://bit.ly/rSH6sV
Hopefully this gets fixed soon.
Re: CSS box-shadow Can Slow Down Scrolling
#6Uhmm, no, really ?
Re: CSS box-shadow Can Slow Down Scrolling
#7Re: CSS box-shadow Can Slow Down Scrolling
#8You might want to try Firefox if you don't want your scrolling to slow down.
Re: CSS box-shadow Can Slow Down Scrolling
#9I'm astonished though that any of this is "surprising news." It's kinda like filing a bug report: "Rage/Doom/etc cause high CPU usage, PLZ FIX." Uhm, yeah.
There are a number of different algorithms for drawing blur. Some of them are high quality but require more iterations for larger radii, some are much faster and "scale" quite well but aren't of nearly the same high quality.
Of course putting complex effects that are computed on the CPU are going to be slow -- at least just a tiny litte little.
Re: CSS box-shadow Can Slow Down Scrolling
#10Uhmm, no, really ?
What good is a fancy new feature if it hurts performance?
For example, in 1998 I could browse the web perfectly fine on a 100 Mhz Pentium with 32 Mb of RAM. If new features didn't hurt performance then I would still be able to browse the web perfectly fine on a 100 Mhz Pentium today.
box-shadow is just a specific example. In five years even the crappiest smart phone will have enough CPU/GPU power to display box-shadows without any noticeable slow down.