browser/devtools/styleinspector/test/doc_content_stylesheet.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:bb1d7516723f
1 <html>
2 <head>
3 <title>test</title>
4
5 <link href="./doc_content_stylesheet_linked.css" rel="stylesheet" type="text/css">
6
7 <script>
8 // Load script.css
9 function loadCSS() {
10 var link = document.createElement('link');
11 link.rel = 'stylesheet';
12 link.type = 'text/css';
13 link.href = "./doc_content_stylesheet_script.css";
14 document.getElementsByTagName('head')[0].appendChild(link);
15 }
16 </script>
17
18 <style>
19 table {
20 border: 1px solid #000;
21 }
22 </style>
23 </head>
24 <body onload="loadCSS();">
25 <table id="target">
26 <tr>
27 <td>
28 <h3>Simple test</h3>
29 </td>
30 </tr>
31 </table>
32 </body>
33 </html>

mercurial