summaryrefslogtreecommitdiffstats
path: root/browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css')
-rw-r--r--browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css b/browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css
new file mode 100644
index 0000000000..48ab165347
--- /dev/null
+++ b/browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css
@@ -0,0 +1,19 @@
+/* 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/. */
+
+/**
+ * www.theaa.com - Print preview is blank
+ * Bug #1848849 - https://bugzilla.mozilla.org/show_bug.cgi?id=1848849
+ * WebCompat issue #117996 - https://github.com/webcompat/web-bugs/issues/117996
+ *
+ * The site is adding a style rule of size: 16px for @page, which is very small and Chrome
+ * is ignoring the rule, while Firefox honours it.
+ * Depends on https://bugzilla.mozilla.org/show_bug.cgi?id=1807985
+ */
+
+@media print {
+ @page {
+ size: a3 !important;
+ }
+}