зеркало из https://github.com/mozilla/gecko-dev.git
10 строки
309 B
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>
|