css: Ensure the tree built is always the same
We add some "artificial" ordering to the otherwise unordered tree nodes. This means the tree will be the same every time for the same input. This is good because e.g. tree order affects the reordering of the simple selectors, which may affect how css providers are printed, which need to be consistent for the css tests to work.
Showing with 107 additions and 2 deletions