-
Bug
-
Resolution: Fixed
-
Minor
-
2.8.7, 2.9.1, 3.3.5, 3.4.2, 3.5, 3.5.1
-
MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_36_STABLE
-
MDL-50812-master -
At the moment, when you are using Google Chrome (Android, PC and MacOS) or Microsoft Edge, Moodle add 'safari' to the list of classes on body.
Sometimes Chrome and Safari lay things out differently, and you need different CSS.
So, the body's class should change to match the browser:
- Google Chrome (Mac & Window): The body class should change from safari to chrome.
- Google Chrome (Android) : The body class should change from safari, android to chrome, android.
- Microsoft Edge: The body class should change from safari to edge.
- Mobile safari: The class ios should exist, safari class should be removed.
And there are some CSS styling for safari class that are not sure if they are styled for Safari, Chrome or Edge (because they are all return the same class name), we should check to make sure.
- has a non-specific relationship to
-
MDL-50807 core_useragent should recognise the new Edge browser in Windows 10
- Closed
- has been marked as being related by
-
MDL-51737 Add ability to detect MS Edge in our browser sniffing code
- Closed
- is duplicated by
-
MDL-50807 core_useragent should recognise the new Edge browser in Windows 10
- Closed