browser/devtools/fontinspector/font-inspector.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/devtools/fontinspector/font-inspector.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.7 +
     1.8 +<!DOCTYPE html [
     1.9 +<!ENTITY % fontinspectorDTD SYSTEM "chrome://browser/locale/devtools/font-inspector.dtd" >
    1.10 + %fontinspectorDTD;
    1.11 +]>
    1.12 +
    1.13 +<html xmlns="http://www.w3.org/1999/xhtml">
    1.14 +  <head>
    1.15 +    <title>&title;</title>
    1.16 +    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    1.17 +    <link rel="stylesheet" href="font-inspector.css" type="text/css"/>
    1.18 +    <link rel="stylesheet" href="chrome://browser/skin/devtools/common.css" type="text/css"/>
    1.19 +    <link rel="stylesheet" href="chrome://browser/skin/devtools/font-inspector.css" type="text/css"/>
    1.20 +    <script type="application/javascript;version=1.8" src="chrome://browser/content/devtools/theme-switching.js"/>
    1.21 +  </head>
    1.22 +  <body class="theme-sidebar devtools-monospace" role="application">
    1.23 +    <script type="application/javascript;version=1.8" src="font-inspector.js"></script>
    1.24 +    <div id="root">
    1.25 +      <ul id="all-fonts"></ul>
    1.26 +      <button id="showall">&showAllFonts;</button>
    1.27 +    </div>
    1.28 +    <div id="template">
    1.29 +      <section class="font">
    1.30 +        <iframe sandbox="" class="font-preview"></iframe>
    1.31 +        <div class="font-info">
    1.32 +          <h1 class="font-name"></h1>
    1.33 +          <span class="font-is-local">&system;</span>
    1.34 +          <span class="font-is-remote">&remote;</span>
    1.35 +          <p class="font-format-url">
    1.36 +            <input readonly="readonly" class="font-url"></input>
    1.37 +            (<span class="font-format"></span>)
    1.38 +          </p>
    1.39 +          <p class="font-css">&usedAs; "<span class="font-css-name"></span>"</p>
    1.40 +          <pre class="font-css-code"></pre>
    1.41 +        </div>
    1.42 +      </section>
    1.43 +    </div>
    1.44 +  </body>
    1.45 +</html>

mercurial