tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit ffb579cd685179ed293f1fb02432727b3a63f8d9
parent 5ab09e910fda83b3d4fa203d08ac9655d895d2ec
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date:   Thu, 16 Oct 2025 16:12:17 +0000

Bug 1994062 - add a CSS webcompat intervention for managetrips.jetblue.com to fix broken printing; r=webcompat-reviewers,ksenia

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

Diffstat:
Mbrowser/extensions/webcompat/data/interventions.json | 17+++++++++++++++++
Abrowser/extensions/webcompat/injections/css/1994062-managetrips.jetblue.com-fix-print-layout.css | 15+++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json @@ -5409,6 +5409,23 @@ } ] }, + "1994062": { + "label": "managetrips.jetblue.com", + "bugs": { + "1994062": { + "issue": "broken-printing", + "matches": ["*://managetrips.jetblue.com/*"] + } + }, + "interventions": [ + { + "platforms": ["all"], + "content_scripts": { + "css": ["1994062-managetrips.jetblue.com-fix-print-layout.css"] + } + } + ] + }, "1994142": { "label": "virtual-cards.exnode.ru", "bugs": { diff --git a/browser/extensions/webcompat/injections/css/1994062-managetrips.jetblue.com-fix-print-layout.css b/browser/extensions/webcompat/injections/css/1994062-managetrips.jetblue.com-fix-print-layout.css @@ -0,0 +1,15 @@ +/* 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/. */ + +/** + * managetrips.jetblue.com - only the first page is printed + * Bug #1994062 - https://bugzilla.mozilla.org/show_bug.cgi?id=1994062 + * + * Due to a flexbox interop issue only the first page is printed. + */ +@media print { + body { + overflow: initial !important; + } +}