<!doctype html>
<meta charset="utf-8">
<title>CSS Test: Dynamic changes to the stylesheet media attributes via CSSOM get reflected</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="match" href="medialist-dynamic-001-ref.html">
<link rel="help" href="https://drafts.csswg.org/cssom/#dom-medialist-mediatext">
<style media="all">* { color: red }</style>
Should not be red.
<script>
  document.body.offsetTop;
  document.styleSheets[0].media.mediaText = "not all";
</script>
