gecko-dev/layout/reftests/bugs/1364335.html

10 строки
309 B
HTML

<!DOCTYPE html>
<style>
span { color: green; }
:any-link + span { color: red; }
</style>
<body onload="window.oldColor = getComputedStyle(document.querySelector('span')).color;
document.querySelector('a').removeAttribute('href');">
<a href=""></a><span>This should be green</span>
</body>