1
0
Fork 0
firefox/devtools/client/shared/sourceeditor/codemirror/cmiframe.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

29 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html dir='ltr'>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; img-src chrome: data:; style-src chrome: 'unsafe-inline';">
<meta name="color-scheme" content="light dark">
<style id="cmBaseStyle">
html, body { height: 100%; }
body { margin: 0; overflow: hidden; }
.CodeMirror {
width: 100% !important;
/*
1. Use fallback values for CSS variables, so that the text is sized
correctly while all the stylesheets load. Fallback values should
match the values in devtools/client/themes/variables.css
2. Avoid !important for the font-size, to let CodeMirror set its own
font-size based on prefs.
*/
font-size: var(--theme-code-font-size, 11px);
line-height: var(--theme-code-line-height, 1.3636) !important;
}
</style>
<link rel='stylesheet' href="chrome://devtools/content/shared/sourceeditor/codemirror/lib/codemirror.css">
<link rel='stylesheet' href="chrome://devtools/content/shared/sourceeditor/codemirror/addon/dialog/dialog.css">
<link rel='stylesheet' href="chrome://devtools/content/shared/sourceeditor/codemirror/mozilla.css">
<script src="chrome://devtools/content/shared/theme-switching.js"></script>
</head>
<body class='theme-body devtools-monospace'></body>
</html>