browser/devtools/fontinspector/font-inspector.xhtml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     2    - License, v. 2.0. If a copy of the MPL was not distributed with this
     3    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     5 <!DOCTYPE html [
     6 <!ENTITY % fontinspectorDTD SYSTEM "chrome://browser/locale/devtools/font-inspector.dtd" >
     7  %fontinspectorDTD;
     8 ]>
    10 <html xmlns="http://www.w3.org/1999/xhtml">
    11   <head>
    12     <title>&title;</title>
    13     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    14     <link rel="stylesheet" href="font-inspector.css" type="text/css"/>
    15     <link rel="stylesheet" href="chrome://browser/skin/devtools/common.css" type="text/css"/>
    16     <link rel="stylesheet" href="chrome://browser/skin/devtools/font-inspector.css" type="text/css"/>
    17     <script type="application/javascript;version=1.8" src="chrome://browser/content/devtools/theme-switching.js"/>
    18   </head>
    19   <body class="theme-sidebar devtools-monospace" role="application">
    20     <script type="application/javascript;version=1.8" src="font-inspector.js"></script>
    21     <div id="root">
    22       <ul id="all-fonts"></ul>
    23       <button id="showall">&showAllFonts;</button>
    24     </div>
    25     <div id="template">
    26       <section class="font">
    27         <iframe sandbox="" class="font-preview"></iframe>
    28         <div class="font-info">
    29           <h1 class="font-name"></h1>
    30           <span class="font-is-local">&system;</span>
    31           <span class="font-is-remote">&remote;</span>
    32           <p class="font-format-url">
    33             <input readonly="readonly" class="font-url"></input>
    34             (<span class="font-format"></span>)
    35           </p>
    36           <p class="font-css">&usedAs; "<span class="font-css-name"></span>"</p>
    37           <pre class="font-css-code"></pre>
    38         </div>
    39       </section>
    40     </div>
    41   </body>
    42 </html>

mercurial