Show
Prerequisite
Another test site with the same version you're testing that does not have the patch.
Setup
Download the test script to your moodle root folder:
master and 400: svgtest.php
311: svgtest_311.php
Download the list of changed SVG files to your root folder:
master and 400: changed.txt
311: changed_311.txt
Edit the test script and change " $beforesite " with the value pointing to your test site that does not have the patch. e.g. if you're testing on 311 and you have the unpatched 311 version on " localhost/stable_311 ":
$beforesite = 'http://localhost/stable_311/';
Note: Trailing slash important!
Test
Open the test script on your browser
Confirm that all icons listed are of grey colour.
Compare the SVG icons before and after the patch:
Confirm that the icons after the patch are a bit darker than before.
Inspect one of the SVG icons after the patch using your browser dev tools
Confirm that the SVG icon after the patch has a fill colour of #888.
Confirm that the SVG icons after the patch are the same size as those before.
Check the PNG files
Confirm that the PNG files after the patch are a little darker than before.
Confirm that the PNG files after the patch are roughly the same size as those before the patch.