News for hackers. Stuff that matters.
Re:CSSnano by troupo on Monday September 16, 2024 @10:13AM (#41556289)
Can't say exactly why, but I had this suggested by IDEA (?) as well. Could be because background is a kitchen-sink of everything there is in a background including several different DSLs for gradients and such. So it makes sense to keep just background-position if there's a simpler background: the browser will spend less time processing it.

Whether that is measurable is a different story :)

Re:CSSnano by Inviz on Wednesday September 18, 2024 @05:40AM (#41577694)
Yeah though within context of a single rule keeping that prop is pure overhead