The Layout Tests located at fast/repaint/{justify, align}-items-* cause an excessive number of unrelated paint invalidations; this is clearly appreciated in the tests expectations. After some initial investigation, it seems that the root cause is that changes on those properties cause a style Reattach, so children's xxx-self properties with auto values can be computed again using the new xxx-items value.