summaryrefslogtreecommitdiffstats
path: root/devtools/client/inspector/shared/test/doc_content_stylesheet.html
blob: f9b52f78d89bca027b9217597e6fe285228f2adc (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
<html>
<head>
  <title>test</title>
  <link href="./doc_content_stylesheet_linked.css" rel="stylesheet" type="text/css">
  <script>
    /* exported loadCSS */
    "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>