https://github.com/web-platform-tests/wpt
Raw File
Tip revision: d9f55b34b619b49c5ecd9fd0802342b0d352b564 authored by Sam Goto on 15 December 2018, 00:47:49 UTC
MojoInterfaceInterceptor tests for the IdleManager.
Tip revision: d9f55b3
stylesheet-change-href.html
<!doctype html>
<meta charset="utf-8">
<title>Obtaining a new stylesheet removes styles from the previous stylesheet.</title>
<link rel=match href=stylesheet-change-href-ref.html>
<script>
  function changeHref() {
    var elem = document.getElementById('stylesheet');
    elem.href = 'resources/good.css';
    elem.onload = null;
  }
</script>
<link id=stylesheet rel=stylesheet href="resources/bad.css" onload="changeHref()">
<p>This text should be green on a white background
back to top