зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1771487 - Ensure iframes in the screenshots UI are transparent after bug 1738380
. r=Gijs
While at it, also ensure they have standards mode and utf-8 charset. Differential Revision: https://phabricator.services.mozilla.com/D147513
This commit is contained in:
Родитель
1f108c2a9a
Коммит
b32cc07363
|
@ -1,5 +1,8 @@
|
|||
<!doctype 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/. -->
|
||||
|
||||
<html></html>
|
||||
<meta charset="utf-8">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
|
|
|
@ -101,6 +101,7 @@ this.ui = (function() {
|
|||
// eslint-disable-next-line no-unsanitized/property
|
||||
this.document.documentElement.innerHTML = `
|
||||
<head>
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<style>${substitutedCss}</style>
|
||||
<title></title>
|
||||
</head>
|
||||
|
@ -255,6 +256,7 @@ this.ui = (function() {
|
|||
this.document.documentElement.innerHTML = `
|
||||
<head>
|
||||
<link rel="localization" href="browser/screenshots.ftl">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<style>${substitutedCss}</style>
|
||||
<title></title>
|
||||
</head>
|
||||
|
@ -397,6 +399,7 @@ this.ui = (function() {
|
|||
this.document.documentElement.innerHTML = `
|
||||
<head>
|
||||
<link rel="localization" href="browser/screenshots.ftl">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<style>${substitutedCss}</style>
|
||||
<title></title>
|
||||
</head>
|
||||
|
|
Загрузка…
Ссылка в новой задаче