Specification test cases
The test cases below are imported from the Turbo CSS specification.
They have been executed upon loading this page.
Change the text color to black if the element's previous sibling is hovered.
t1 hover:+color-black
:hover + .t1.hover\:\+color-black {
color: #000000;
}
Change the text color to black if the element's 3rd-previous sibling is hovered.
t1 hover:+++color-black
:hover + * + * + .t1.hover\:\+\+\+color-black {
color: #000000;
}
Change the text color to black if the element's parent's previous sibling is hovered.
t1 hover:+/color-black
:hover + * > .t1.hover\:\+\/color-black {
color: #000000;
}