browser/devtools/styleinspector/test/doc_content_stylesheet.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/devtools/styleinspector/test/doc_content_stylesheet.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +  <title>test</title>
     1.7 +
     1.8 +  <link href="./doc_content_stylesheet_linked.css" rel="stylesheet" type="text/css">
     1.9 +
    1.10 +  <script>
    1.11 +    // Load script.css
    1.12 +    function loadCSS() {
    1.13 +      var link = document.createElement('link');
    1.14 +      link.rel = 'stylesheet';
    1.15 +      link.type = 'text/css';
    1.16 +      link.href = "./doc_content_stylesheet_script.css";
    1.17 +      document.getElementsByTagName('head')[0].appendChild(link);
    1.18 +    }
    1.19 +  </script>
    1.20 +
    1.21 +  <style>
    1.22 +    table {
    1.23 +      border: 1px solid #000;
    1.24 +    }
    1.25 +  </style>
    1.26 +</head>
    1.27 +<body onload="loadCSS();">
    1.28 +  <table id="target">
    1.29 +    <tr>
    1.30 +      <td>
    1.31 +        <h3>Simple test</h3>
    1.32 +      </td>
    1.33 +    </tr>
    1.34 +  </table>
    1.35 +</body>
    1.36 +</html>

mercurial