browser/devtools/styleinspector/test/doc_content_stylesheet.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <html>
     2 <head>
     3   <title>test</title>
     5   <link href="./doc_content_stylesheet_linked.css" rel="stylesheet" type="text/css">
     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>
    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