This test the specificity of :nth-last-child() with dynamic specificity of compound selectors. In this case, we verify the matching of siblings does not affect the specificity of the current element. If the test pass, the style of each line should match its text description.

Black text. Black text. White text on red background with black border. Black text with blue border. White text on red background with purple border. Red text on green background with blue border. White text on red background with purple border. Red text with black border.