1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
7 <html xmlns=
"http://www.w3.org/1999/xhtml" dir=
"">
9 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8" />
11 <link rel=
"stylesheet" href=
"chrome://devtools/skin/breadcrumbs.css" />
12 <link rel=
"stylesheet" href=
"chrome://devtools/skin/inspector.css" />
13 <link rel=
"stylesheet" href=
"chrome://devtools/skin/badge.css" />
14 <link rel=
"stylesheet" href=
"chrome://devtools/skin/rules.css" />
15 <link rel=
"stylesheet" href=
"chrome://devtools/skin/compatibility.css" />
16 <link rel=
"stylesheet" href=
"chrome://devtools/skin/computed.css" />
17 <link rel=
"stylesheet" href=
"chrome://devtools/skin/changes.css" />
18 <link rel=
"stylesheet" href=
"chrome://devtools/skin/fonts.css" />
19 <link rel=
"stylesheet" href=
"chrome://devtools/skin/boxmodel.css" />
20 <link rel=
"stylesheet" href=
"chrome://devtools/skin/layout.css" />
21 <link rel=
"stylesheet" href=
"chrome://devtools/skin/animation.css" />
24 href=
"chrome://devtools/content/shared/components/tabs/Tabs.css"
28 href=
"chrome://devtools/content/shared/components/SidebarToggle.css"
32 href=
"chrome://devtools/content/inspector/components/InspectorTabPanel.css"
36 href=
"chrome://devtools/content/shared/components/splitter/SplitBox.css"
40 href=
"chrome://devtools/content/shared/components/Accordion.css"
44 href=
"chrome://devtools/content/shared/components/reps/reps.css"
46 <!-- Needed for the ObjectInspector -->
49 href=
"chrome://devtools/content/shared/components/Tree.css"
53 href=
"chrome://devtools/content/shared/components/object-inspector/components/ObjectInspector.css"
57 href=
"chrome://devtools/content/shared/components/tree/TreeView.css"
60 <script src=
"chrome://devtools/content/shared/theme-switching.js"></script>
63 var isInChrome = window.location.href.includes(
"chrome:");
66 var { require, loader } = ChromeUtils.importESModule(
67 "resource://devtools/shared/loader/Loader.sys.mjs"
69 var { BrowserLoader } = ChromeUtils.importESModule(
70 "resource://devtools/shared/loader/browser-loader.sys.mjs"
76 src=
"resource://devtools/client/inspector/inspector.js"
80 <body class=
"theme-body" role=
"application">
82 class=
"inspector-responsive-container theme-body inspector"
83 data-localization-bundle=
"devtools/client/locales/inspector.properties"
85 <!-- Main Panel Content -->
87 id=
"inspector-main-content"
88 class=
"devtools-main-content"
89 style=
"visibility: hidden"
93 id=
"inspector-toolbar"
94 class=
"devtools-toolbar devtools-input-toolbar"
97 <div id=
"inspector-search" class=
"devtools-searchbox">
99 id=
"inspector-searchbox"
100 class=
"devtools-searchinput"
102 data-localization=
"placeholder=inspectorSearchHTML.label3"
105 id=
"inspector-searchinput-clear"
106 class=
"devtools-searchinput-clear"
111 <div id=
"inspector-searchlabel-container" hidden=
"">
112 <div class=
"devtools-separator"></div>
113 <span id=
"inspector-searchlabel"></span>
115 <div class=
"devtools-separator"></div>
117 id=
"inspector-element-add-button"
118 class=
"devtools-button"
119 data-localization=
"title=inspectorAddNode.label"
122 id=
"inspector-eyedropper-toggle"
123 class=
"devtools-button"
127 <!-- Markup Container -->
128 <div id=
"markup-box"></div>
129 <div id=
"inspector-breadcrumbs-toolbar" class=
"devtools-toolbar">
131 id=
"inspector-breadcrumbs"
132 class=
"breadcrumbs-widget-container"
134 data-localization=
"aria-label=inspector.breadcrumbs.label"
141 <div id=
"inspector-splitter-box"></div>
143 <!-- Split Sidebar Container -->
144 <div id=
"inspector-rules-container">
145 <div id=
"inspector-rules-sidebar" hidden=
""></div>
148 <!-- Sidebar Container -->
149 <div id=
"inspector-sidebar-container">
150 <div id=
"inspector-sidebar" hidden=
""></div>
153 <!-- Sidebar Panel Definitions -->
154 <div id=
"tabpanels" style=
"visibility: collapse">
156 id=
"sidebar-panel-ruleview"
157 class=
"theme-sidebar inspector-tabpanel"
159 <div id=
"ruleview-toolbar-container">
161 id=
"ruleview-toolbar"
162 class=
"devtools-toolbar devtools-input-toolbar"
164 <div class=
"devtools-searchbox">
166 id=
"ruleview-searchbox"
167 class=
"devtools-filterinput"
169 data-localization=
"aria-label=inspector.filterStyles.label;placeholder=inspector.filterStyles.placeholder"
172 id=
"ruleview-searchinput-clear"
173 data-localization=
"title=inspector.filterStylesClearButton.title"
174 class=
"devtools-searchinput-clear"
177 <div class=
"devtools-separator"></div>
178 <div id=
"ruleview-command-toolbar">
180 id=
"pseudo-class-panel-toggle"
181 data-localization=
"title=inspector.togglePseudo.tooltip"
182 class=
"devtools-button"
183 aria-controls=
"pseudo-class-panel"
187 id=
"class-panel-toggle"
188 data-localization=
"title=inspector.classPanel.toggleClass.tooltip"
189 class=
"devtools-button"
190 aria-controls=
"ruleview-class-panel"
194 id=
"ruleview-add-rule-button"
195 data-localization=
"title=inspector.addRule.tooltip"
196 class=
"devtools-button"
199 id=
"color-scheme-simulation-light-toggle"
200 data-localization=
"title=inspector.colorSchemeSimulationLight.tooltip"
201 class=
"devtools-button"
206 id=
"color-scheme-simulation-dark-toggle"
207 data-localization=
"title=inspector.colorSchemeSimulationDark.tooltip"
208 class=
"devtools-button"
213 id=
"print-simulation-toggle"
214 data-localization=
"title=inspector.printSimulation.tooltip"
215 class=
"devtools-button"
222 id=
"pseudo-class-panel"
223 class=
"theme-toolbar ruleview-reveal-panel"
226 <!-- Populated with checkbox inputs once the Rules view is instantiated -->
229 id=
"ruleview-class-panel"
230 class=
"theme-toolbar ruleview-reveal-panel"
235 <div id=
"ruleview-container" class=
"ruleview" role=
"document">
236 <div id=
"ruleview-container-focusable" tabindex=
"-1"></div>
241 id=
"sidebar-panel-computedview"
242 class=
"theme-sidebar inspector-tabpanel"
245 id=
"computed-toolbar"
246 class=
"devtools-toolbar devtools-input-toolbar"
248 <div class=
"devtools-searchbox">
250 id=
"computed-searchbox"
251 class=
"devtools-filterinput"
253 data-localization=
"aria-label=inspector.filterStyles.label;placeholder=inspector.filterStyles.placeholder"
256 id=
"computed-searchinput-clear"
257 class=
"devtools-searchinput-clear"
258 data-localization=
"title=inspector.filterStylesClearButton.title"
261 <div class=
"devtools-separator"></div>
263 id=
"browser-style-checkbox"
265 class=
"includebrowserstyles"
268 id=
"browser-style-checkbox-label"
269 for=
"browser-style-checkbox"
270 data-localization=
"content=inspector.browserStyles.label"
274 <div id=
"computed-container" role=
"document">
275 <div id=
"computed-container-focusable" tabindex=
"-1">
277 id=
"computed-property-container"
278 class=
"devtools-monospace"
283 id=
"computed-no-results"
284 class=
"devtools-sidepanel-no-result"
286 data-localization=
"content=inspector.noProperties"