We all know that browser sniffing is evil, but occasionally unavoidable.
And, to help this, Moodle puts useful classes on body, like .ie, .firefox, etc.
Well, we have never had a class for .edge, even though it has been out for a while. Also, for historical reasons, Chrome (as well as Safari) was reported as .safari.
MDL-50812 has been around for a while, and I just hit this again, so I have done a fix.
Please can anyone peer review that?
Also, if you think this should not happen, please scream now.