<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>CSSOM - Serialization of CSSMediaRule</title>
  <link rel="help" href="https://drafts.csswg.org/cssom/#serialize-a-css-rule">
  <script src="/resources/testharness.js"></script>
  <script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script>
function makeSheet(t) {
  var style = document.createElement('style');
  document.body.appendChild(style);
  t.add_cleanup(function() {
    document.body.removeChild(style);
  });
  return