summaryrefslogtreecommitdiff
path: root/browser/devtools/layoutview/view.xhtml
blob: 261d1a42a9e2977ebd65a614bbe6ced4db56bb6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html [
<!ENTITY % layoutviewDTD SYSTEM "chrome://browser/locale/devtools/layoutview.dtd" >
 %layoutviewDTD;
]>

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <head>
    <title>&title;</title>

    <script type="application/javascript;version=1.8"
            src="chrome://browser/content/devtools/theme-switching.js"/>

    <script type="application/javascript;version=1.8" src="view.js"></script>

    <link rel="stylesheet" href="chrome://browser/skin/devtools/common.css" type="text/css"/>
    <link rel="stylesheet" href="chrome://browser/skin/devtools/layoutview.css" type="text/css"/>
    <link rel="stylesheet" href="view.css" type="text/css"/>

  </head>
  <body class="theme-sidebar devtools-monospace">

    <p id="header">
      <span id="element-size"></span><span id="element-position"></span>
    </p>

    <div id="main">

      <div id="margins" data-box="margin" tooltip="&margin.tooltip;">
        <div id="borders" data-box="border" tooltip="&border.tooltip;">
          <div id="padding" data-box="padding" tooltip="&padding.tooltip;">
            <div id="content" data-box="content" tooltip="&content.tooltip;">
            </div>
          </div>
        </div>
      </div>

      <p class="border top"><span data-box="border" class="editable" tooltip="border-top"></span></p>
      <p class="border right"><span data-box="border" class="editable" tooltip="border-right"></span></p>
      <p class="border bottom"><span data-box="border" class="editable" tooltip="border-bottom"></span></p>
      <p class="border left"><span data-box="border" class="editable" tooltip="border-left"></span></p>

      <p class="margin top"><span data-box="margin" class="editable" tooltip="margin-top"></span></p>
      <p class="margin right"><span data-box="margin" class="editable" tooltip="margin-right"></span></p>
      <p class="margin bottom"><span data-box="margin" class="editable" tooltip="margin-bottom"></span></p>
      <p class="margin left"><span data-box="margin" class="editable" tooltip="margin-left"></span></p>

      <p class="padding top"><span data-box="padding" class="editable" tooltip="padding-top"></span></p>
      <p class="padding right"><span data-box="padding" class="editable" tooltip="padding-right"></span></p>
      <p class="padding bottom"><span data-box="padding" class="editable" tooltip="padding-bottom"></span></p>
      <p class="padding left"><span data-box="padding" class="editable" tooltip="padding-left"></span></p>

      <p class="size"><span data-box="content" tooltip="&content.tooltip;"></span></p>

      <span class="tooltip"></span>

    </div>

    <div style="display: none">
      <p id="dummy"></p>
    </div>
  </body>
</html>