Bug 1309733 - fix syntax issues in inspector.xhtml;r=ntim

MozReview-Commit-ID: D2UbXApPa5D

--HG--
extra : rebase_source : 4eb91c890864d27776b458c8394614845fe8e2d5
This commit is contained in:
Julian Descottes 2016-10-14 13:27:58 +02:00
Родитель 053e1545f8
Коммит 3b48aa0b0a
1 изменённых файлов: 36 добавлений и 35 удалений

Просмотреть файл

@ -2,27 +2,28 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public <!-- 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 - 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/. --> - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/content/shared/widgets/widgets.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/widgets.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/inspector.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/rules.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/computed.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/fonts.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/boxmodel.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/animationinspector.css" type="text/css"?>
<?xml-stylesheet href="resource://devtools/client/shared/components/sidebar-toggle.css" type="text/css"?>
<?xml-stylesheet href="resource://devtools/client/shared/components/tabs/tabs.css" type="text/css"?>
<?xml-stylesheet href="resource://devtools/client/shared/components/tabs/tabbar.css" type="text/css"?>
<?xml-stylesheet href="resource://devtools/client/inspector/components/side-panel.css" type="text/css"?>
<?xml-stylesheet href="resource://devtools/client/inspector/components/inspector-tab-panel.css" type="text/css"?>
<?xml-stylesheet href="resource://devtools/client/shared/components/splitter/split-box.css" type="text/css"?>
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" dir=""> <html xmlns="http://www.w3.org/1999/xhtml" dir="">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="chrome://global/skin/"/>
<link rel="stylesheet" href="resource://devtools/client/shared/widgets/widgets.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/widgets.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/inspector.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/rules.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/computed.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/fonts.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/boxmodel.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/animationinspector.css"/>
<link rel="stylesheet" href="resource://devtools/client/shared/components/sidebar-toggle.css"/>
<link rel="stylesheet" href="resource://devtools/client/shared/components/tabs/tabs.css"/>
<link rel="stylesheet" href="resource://devtools/client/shared/components/tabs/tabbar.css"/>
<link rel="stylesheet" href="resource://devtools/client/inspector/components/side-panel.css"/>
<link rel="stylesheet" href="resource://devtools/client/inspector/components/inspector-tab-panel.css"/>
<link rel="stylesheet" href="resource://devtools/client/shared/components/splitter/split-box.css"/>
<script type="application/javascript;version=1.8" <script type="application/javascript;version=1.8"
src="chrome://devtools/content/shared/theme-switching.js"></script> src="chrome://devtools/content/shared/theme-switching.js"></script>
<script type="application/javascript;version=1.8" src="inspector.js" defer="true"></script> <script type="application/javascript;version=1.8" src="inspector.js" defer="true"></script>
@ -35,9 +36,9 @@
<div id="inspector-toolbar" class="devtools-toolbar" nowindowdrag="true" <div id="inspector-toolbar" class="devtools-toolbar" nowindowdrag="true"
data-localization-bundle="devtools/locale/inspector.properties"> data-localization-bundle="devtools/locale/inspector.properties">
<button id="inspector-element-add-button" class="devtools-button" <button id="inspector-element-add-button" class="devtools-button"
data-localization="title=inspectorAddNode.label"/> data-localization="title=inspectorAddNode.label"></button>
<div class="devtools-toolbar-spacer" /> <div class="devtools-toolbar-spacer"></div>
<span id="inspector-searchlabel" /> <span id="inspector-searchlabel"></span>
<div id="inspector-search" class="devtools-searchbox has-clear-btn"> <div id="inspector-search" class="devtools-searchbox has-clear-btn">
<input id="inspector-searchbox" class="devtools-searchinput" <input id="inspector-searchbox" class="devtools-searchinput"
type="search" type="search"
@ -46,13 +47,13 @@
</div> </div>
<button id="inspector-eyedropper-toggle" <button id="inspector-eyedropper-toggle"
data-localization="title=inspector.eyedropper.label" data-localization="title=inspector.eyedropper.label"
class="devtools-button command-button-invertable" /> class="devtools-button command-button-invertable"></button>
<div id="inspector-sidebar-toggle-box" /> <div id="inspector-sidebar-toggle-box"></div>
</div> </div>
<div id="markup-box" /> <div id="markup-box"></div>
<div id="inspector-breadcrumbs-toolbar" class="devtools-toolbar"> <div id="inspector-breadcrumbs-toolbar" class="devtools-toolbar">
<div id="inspector-breadcrumbs" class="breadcrumbs-widget-container" <div id="inspector-breadcrumbs" class="breadcrumbs-widget-container"
role="group" data-localization="aria-label=inspector.breadcrumbs.label" tabindex="0" /> role="group" data-localization="aria-label=inspector.breadcrumbs.label" tabindex="0"></div>
</div> </div>
</div> </div>
@ -67,7 +68,7 @@
<div <div
xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"
id="inspector-sidebar" id="inspector-sidebar"
hidden="true" /> hidden="true"></div>
</div> </div>
<!-- Sidebar panel definitions --> <!-- Sidebar panel definitions -->
@ -115,7 +116,7 @@
type="checkbox" type="checkbox"
class="includebrowserstyles"/> class="includebrowserstyles"/>
<label id="browser-style-checkbox-label" for="browser-style-checkbox" <label id="browser-style-checkbox-label" for="browser-style-checkbox"
data-localization="content=inspector.browserStyles.label"/> data-localization="content=inspector.browserStyles.label"></label>
</div> </div>
<div id="computedview-container"> <div id="computedview-container">
@ -124,16 +125,16 @@
data-localization-bundle="devtools/locale/boxmodel.properties"> data-localization-bundle="devtools/locale/boxmodel.properties">
<div id="boxmodel-header"> <div id="boxmodel-header">
<div id="boxmodel-expander" class="expander theme-twisty expandable" open=""></div> <div id="boxmodel-expander" class="expander theme-twisty expandable" open=""></div>
<span data-localization="content=boxmodel.title"/> <span data-localization="content=boxmodel.title"></span>
</div> </div>
<div id="boxmodel-container"> <div id="boxmodel-container">
<div id="boxmodel-main"> <div id="boxmodel-main">
<span class="boxmodel-legend" data-box="margin" data-localization="content=boxmodel.margin;title=boxmodel.margin"/> <span class="boxmodel-legend" data-box="margin" data-localization="content=boxmodel.margin;title=boxmodel.margin"></span>
<div id="boxmodel-margins" data-box="margin" data-localization="title=boxmodel.margin"> <div id="boxmodel-margins" data-box="margin" data-localization="title=boxmodel.margin">
<span class="boxmodel-legend" data-box="border" data-localization="content=boxmodel.border;title=boxmodel.border"/> <span class="boxmodel-legend" data-box="border" data-localization="content=boxmodel.border;title=boxmodel.border"></span>
<div id="boxmodel-borders" data-box="border" data-localization="title=boxmodel.border"> <div id="boxmodel-borders" data-box="border" data-localization="title=boxmodel.border">
<span class="boxmodel-legend" data-box="padding" data-localization="content=boxmodel.padding;title=boxmodel.padding"/> <span class="boxmodel-legend" data-box="padding" data-localization="content=boxmodel.padding;title=boxmodel.padding"></span>
<div id="boxmodel-padding" data-box="padding" data-localization="title=boxmodel.padding"> <div id="boxmodel-padding" data-box="padding" data-localization="title=boxmodel.padding">
<div id="boxmodel-content" data-box="content" data-localization="title=boxmodel.content"> <div id="boxmodel-content" data-box="content" data-localization="title=boxmodel.content">
</div> </div>
@ -179,7 +180,7 @@
<div id="propertyContainer" class="theme-separator" tabindex="0"> <div id="propertyContainer" class="theme-separator" tabindex="0">
</div> </div>
<div id="computedview-no-results" hidden="" data-localization="content=inspector.noProperties"/> <div id="computedview-no-results" hidden="" data-localization="content=inspector.noProperties"></div>
</div> </div>
</div> </div>
</div> </div>
@ -198,7 +199,7 @@
</div> </div>
<label id="font-showall" class="theme-link" <label id="font-showall" class="theme-link"
data-localization="content=fontinspector.seeAll; data-localization="content=fontinspector.seeAll;
title=fontinspector.seeAll.tooltip"/> title=fontinspector.seeAll.tooltip"></label>
</div> </div>
<div id="font-container"> <div id="font-container">
@ -212,14 +213,14 @@
</div> </div>
<div class="font-info"> <div class="font-info">
<h1 class="font-name"></h1> <h1 class="font-name"></h1>
<span class="font-is-local" data-localization="content=fontinspector.system"/> <span class="font-is-local" data-localization="content=fontinspector.system"></span>
<span class="font-is-remote" data-localization="content=fontinspector.remote"/> <span class="font-is-remote" data-localization="content=fontinspector.remote"></span>
<p class="font-format-url"> <p class="font-format-url">
<input readonly="readonly" class="font-url"></input> <input readonly="readonly" class="font-url"></input>
<span class="font-format"></span> <span class="font-format"></span>
</p> </p>
<p class="font-css"> <p class="font-css">
<span data-localization="content=fontinspector.usedAs"/> "<span class="font-css-name"></span>" <span data-localization="content=fontinspector.usedAs"></span> "<span class="font-css-name"></span>"
</p> </p>
<pre class="font-css-code"></pre> <pre class="font-css-code"></pre>
</div> </div>
@ -228,7 +229,7 @@
</div> </div>
<div id="sidebar-panel-animationinspector" class="devtools-monospace theme-sidebar inspector-tabpanel"> <div id="sidebar-panel-animationinspector" class="devtools-monospace theme-sidebar inspector-tabpanel">
<iframe class="devtools-inspector-tab-frame" /> <iframe class="devtools-inspector-tab-frame"></iframe>
</div> </div>
</div> </div>