LeaVerou / css3test

How does your browser score for its CSS3 support?
http://css3test.com
MIT License
214 stars 83 forks source link

Split logic for running the tests and displaying the results #215

Open SebastianZ opened 2 years ago

SebastianZ commented 2 years ago

At the moment the logic for executing the tests and outputting their results is strongly entangled.

This hinders further improvement regarding both and also makes it harder to read the code.

E.g. we want to execute the tests only once but update the display depending on the chosen filter (see https://github.com/LeaVerou/css3test/pull/212#discussion_r779948338).

Therefore the code for running the tests and displaying the test results should be split and run separately from each other.

Sebastian