Back to Chromium

Visited Descendant

third_party/blink/web_tests/fast/selectors/visited-descendant.html

150.0.7829.2669 B
Original Source

Test that visited style matches to the topmost link in a descendant selector. The link should be green, with red underlining.

Link

Test that visited style matches to the topmost link in a child selector. The link should be green, with red underlining.

Link

Test that visited style does not match to non-topmost links. The link should be red, with red underlining.

Link

Test that direct adjacent selector doesn't match visited style. The link should be red, with red underlining. The span should be green.

LinkSpan

Test that indirect adjacent selector doesn't match visited style. The link should be red, with red underlining. The span should be green.

LinkSpan