3 ms·
The developer was doing you a favor, by not overriding all your styles, preventing you from potentially downloading a bunch of unnecessary bytes, slowing down y
by jameslk 8y ago
The developer was doing you a favor, by not overriding all your styles, preventing you from potentially downloading a bunch of unnecessary bytes, slowing down your browser with potentially unnecessary CSS rules and leaving it up to you to use your best judgement not to fubar the site. Like I've mentioned elsewhere, this is the old reset css debate.
It's a calculated risk to address 99% of users who don't have their browser change their default agent styles. Everyone else is assumed to know what they're doing.
- michaelmrose 8y agoThere is no way for users to fix that you the dev decided to override one value and not the other other than not using dark themes. Overriding one value and not the other isn't doing the user a favor it predictably results in broken behavior that you could 100% avoid by designing your page competently. The 2 colors are implicitly related and need to be chosen together to result in a readable result. The fact that it works okay on most systems does not indicate that your work is correct. 100% broken code per standards that happened to work under internet explorer 6 wasn't correct under the principle that people could just use ie. This is only different in that this debate is more nonsensical because the correct behavior is so easy to achieve. The default background being light isn't an actual default and if you depend on it then it is no different than depending on the user speaking English having 3 names text being ltr. Its calculated nothing because setting the background color increases how predictable your look and feel is. There are zero downsides to doing so.