gecko-dev/devtools/client/framework/toolbox-process-window.html
Mantaroh Yoshinaga 38d6ddfd63 Bug 1487580 - Multiply the min-width of toolbox and zoom value. r=jdescottes
The toolbox specified the min-width to the own xul attribtue. However,
the coordinate system differ from inner and outer frame if we zoom in/out the
devtool panel.

This patch will multiply the min-width of toolbox and zoom value to prevent
this coordinate problem.

Differential Revision: https://phabricator.services.mozilla.com/D4895

--HG--
extra : moz-landing-system : lando
2018-09-14 05:37:18 +00:00

26 lines
1.2 KiB
HTML

<!-- 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>
<html id="devtools-toolbox-window"
windowtype="devtools:toolbox"
width="900" height="350"
persist="screenX screenY width height sizemode">
<head>
<link rel="stylesheet" href="chrome://global/skin/"/>
<link rel="stylesheet" href="resource://devtools/client/themes/common.css"/>
<link rel="stylesheet" href="chrome://devtools/content/framework/toolbox-process-window.css"/>
<script type="text/javascript" src="chrome://global/content/globalOverlay.js"></script>
<script type="text/javascript" src="toolbox-process-window.js"></script>
<script type="text/javascript" src="chrome://global/content/viewSourceUtils.js"></script>
<script type="text/javascript" src="chrome://browser/content/utilityOverlay.js"></script>
</head>
<body>
<div id="status-message-container" hidden="true">
<div id="status-message-title"></div>
<pre id="status-message"></pre>
</div>
<iframe id="toolbox-iframe"></iframe>
</body>
</html>