summaryrefslogtreecommitdiffstats
path: root/devtools/client/inspector/rules/test/doc_content_stylesheet.html
blob: 3ea65f6065538cadf897055765e3cab2fe64ad8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head>
  <title>test</title>

  <link href="./doc_content_stylesheet_linked.css" rel="stylesheet" type="text/css">

  <script>
    /* eslint no-unused-vars: [2, {"vars": "local"}] */
    "use strict";
    // Load script.css
    function loadCSS() {
      let link = document.createElement("link");
      link.rel = "stylesheet";
      link.type = "text/css";
      link.href = "./doc_content_stylesheet_script.css";
      document.getElementsByTagName("head")[0].appendChild(link);
    }
  </script>

  <style>
    table {
      border: 1px solid #000;
    }
  </style>
</head>
<body onload="loadCSS();">
  <table id="target">
    <tr>
      <td>
        <h3>Simple test</h3>
      </td>
    </tr>
  </table>
</body>
</html>