https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 80724663b04d82106448d9afcfe1a3fa63ba9e52 authored by François Doray on 28 March 2018, 20:58:32 UTC
Revert "bluetooth: FakeBluetoothChooser impl."
Tip revision: 8072466
any-link-dynamic-001.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS test: Handling of dynamic changes to :any-link selectors</title>
<link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
<link rel="match" href="any-link-dynamic-001-ref.html">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#the-any-link-pseudo">
<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>
back to top