firefox 121 release notes 翻譯共筆 (done)
===
###### tags: `moztw.org`, `fx_release_notes`
1. 複製 mozilla.org 上 [最新版 release notes](https://www.mozilla.org/en-US/firefox/101.0/releasenotes/) 的內容
2. 透過 [html to markdown](https://codebeautify.org/html-to-markdown) 轉成 md 格式
3. 貼到 [hackmd](hackmd.io/@moztw) 開一個新版共筆(slug: `firefox-release-notes-xxx`)
5. 翻譯完成後,[建立新的 release notes 網頁](https://github.com/moztw/www.moztw.org/tree/master/firefox/releases)
---
翻譯時請直接寫在英文下方,便於對照
---
https://www.mozilla.org/en-US/firefox/120.0/releasenotes/
Version 121.0, first offered to Release channel users on December 19, 2023
Firefox 第 121.0 版於 2023 年 12 月 19 日起提供給正式釋出版頻道的使用者使用

### New<br>新特性
* Firefox now prompts Windows users to install the Microsoft [AV1 Video Extension](https://apps.microsoft.com/detail/9MVZQVXJBQ9V) to enable hardware decoding support for the AV1 video codec from `about:support` if not already installed.
* 如果尚未安裝的話,Firefox 現在會於 `about:support` 頁面提示 Windows 使用者安裝微軟的 [AV1 Video Extension](https://apps.microsoft.com/detail/9MVZQVXJBQ9V),以啟動 AV1 媒體的硬體解碼支援。
* Firefox now supports [Voice Control commands](https://support.apple.com/guide/mac-help/use-voice-control-commands-mh40719/mac) on macOS systems.
* Firefox 現在已支援 macOS 平台的[「語音控制」指令](https://support.apple.com/guide/mac-help/use-voice-control-commands-mh40719/mac)
* On Linux, Firefox now defaults to the Wayland compositor when available instead of XWayland. This brings support for touchpad & touchscreen gestures, swipe-to-nav, per-monitor DPI settings, better graphics performance, and more.
Note that due to Wayland protocol limitations, Picture-in-Picture windows require an extra user interaction (generally right-click on the window) or a shell / desktop-environment tweak. See [bug 1621261](https://bugzilla.mozilla.org/show_bug.cgi?id=1621261) for related discussion and tracking, [this post](https://www.reddit.com/r/kde/comments/osjt3p/firefox_wayland_pip_workaround_or_how_i_learned/) for a KDE configuration, and [this extension](https://extensions.gnome.org/extension/4691/pip-on-top/) for GNOME. It is also a known issue that windows are not correctly placed when restoring a previous session on launch.
* 在 Linux 上,當可用時,Firefox 現在會預設使用 Wayland 合成器取代 XWayland,支援觸控板和觸控螢幕的手勢與滑動導航,個別顯示器的 DPI 設定,更好的圖形效能與更多優點。
要注意的是,因為 Wayland 協議的限制,子母畫面(Picture-in-Picture)視窗需要一個額外的使用者互動(通常是於視窗上點擊右鍵),或是調整 shell / 桌面環境設定,才能正常運作。相關的討論與問題追蹤請參閱 [bug 1621261](https://bugzilla.mozilla.org/show_bug.cgi?id=1621261) ,觀看 [這篇文章](https://www.reddit.com/r/kde/comments/osjt3p/firefox_wayland_pip_workaround_or_how_i_learned/) 了解相關的 KDE 設定,安裝 GNOME 的 [這個擴充功能](https://extensions.gnome.org/extension/4691/pip-on-top/)。此外目前有個已知問題,是當開啟並恢復前一個作業階段時視窗未正確錯置。
* Firefox can now force links to always be underlined. This option can be enabled in the Browsing section of the Firefox Settings menu.
* Firefox 現在可以強制連結永遠加上底線。這個選項可以在 Firefox 設定的「瀏覽」內啟用。


* The PDF viewer now includes a floating button to simplify deleting drawings, text, and images added in PDFs.
* PDF 檢視器現在包括一顆浮動按鈕,以簡化刪除在 PDF 中添加的繪圖、文本和圖像。



### Fixed
* Various [security](https://www.mozilla.org/security/advisories/mfsa2023-56/) fixes.
* 多個[安全](https://www.mozilla.org/security/advisories/mfsa2023-56/)修正
* Ubuntu Firefox Snap builds did not default to Wayland compositing on some systems as expected when Firefox 121 was first released. This is now fixed and updated builds can be installed with the Ubuntu Software Updater.
* Firefox 121 發布初期,Ubuntu Firefox Snap 編譯版在某些系統上未如預期的預設使用 Wayland 繪製。現已修復,亦可以通過 Ubuntu 軟體更新器安裝更新版。

### Enterprise
* You can find information about policy updates and enterprise specific bug fixes in the [Firefox for Enterprise 121 Release Notes](https://support.mozilla.org/kb/firefox-enterprise-121-release-notes).
* 您可以於 [Firefox 企業版的第 121 版釋出說明](https://support.mozilla.org/kb/firefox-enterprise-121-release-notes)找到關於軟體政策更新與企業版專屬軟體缺陷修正的相關資訊。

### Developer
* [Developer Information](https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/121)
* The Firefox Debugger now includes a new feature: an option to disable the `debugger;` keyword on the current page. This feature is accessible via a new checkbox in the Breakpoints side panel labeled `Pause on debugger statement`, located next to the existing `Pause on exceptions` checkbox. By default, this option is enabled, meaning that the debugger statements are active unless manually disabled.
* Firefox 除錯器面板現在包含一個新功能:在當前頁面停用 `debugger;` 陳述式。這個功能可以透過中斷點側邊欄中的 `暫停於 debugger 陳述式` 核取方塊取用,就位於現有的 `發生例外時暫停` 核取方塊旁。預設狀態下此選項為勾選,意味著除手動停用外,debugger 宣告將是有效的狀態。


* As part of our work on improving the accessibility of Firefox Developer Tools, we've unified the focus indicator across the toolbox. The focus indicator is now larger with improved contrast, featuring a white box-shadow for enhanced visibility on blue backgrounds. Adjustments have also been made to ensure clear visibility across shared components and frequently used panels, preventing overlap with element borders or backgrounds.
* 改善 Firefox 開發者工具可及性(accessibility)工程的部分成果:我們統一了工具箱中的焦點(focus)指示。焦點指示現在更大、對比度更高,使用白色下落式陰影以提升藍色背景上的可見度。也對共用元件和常用面板上進行調整,以確保清晰可見,避免與元素邊框或背景重疊。

### Web Platform
* The [`:has()`](https://developer.mozilla.org/docs/Web/CSS/:has) selector is now supported. This allows authors to match an element that has, or "anchors", at least one element matching its relative selector.
* 現在支援 [`:has()`](https://developer.mozilla.org/docs/Web/CSS/:has) 選擇器,允許作者匹配或「定錨」(anchors)到至少一個符合該選擇條件的元素。
* The `hanging` and `each-line` keywords are now supported for the [text-indent](https://developer.mozilla.org/docs/Web/CSS/text-indent) CSS property, offering more convenient paragraph layout options for styles such as bibliographies, poetry, etc.
* [text-indent](https://developer.mozilla.org/docs/Web/CSS/text-indent) CSS 屬性現在支援 `hanging` 和 `each-line` 關鍵字,為書目、詩詞等內容提供更便利的段落佈局樣式選項。
* The `balance` keyword is now supported for the [text-wrap](https://developer.mozilla.org/docs/Web/CSS/text-wrap) CSS property, which can improve the appearance of short multi-line text blocks such as long headings or captions by harmonizing the line lengths.
* [text-wrap](https://developer.mozilla.org/docs/Web/CSS/text-wrap) CSS 屬性現在支援 `balance` 關鍵字,可通過讓行長一致化以改善短多行文字區塊(如長標題或標題)的外觀。
* [Lazy loading](https://developer.mozilla.org/docs/Web/Performance/Lazy_loading) iframes are now supported (`<iframe loading=lazy>`). Lazy loading iframes are only loaded when visible, so non-critical iframes can load later when needed to speed up initial page loads, reduce initial network usage, etc.
* iframes 現在支援 [Lazy loading](https://developer.mozilla.org/docs/Web/Performance/Lazy_loading) 延遲載入(`<iframe loading=lazy>`)。延遲載入的 iframes 只在顯示時才開始載入,因此非關鍵的 iframes 可在需要時才加載,以加快初始頁面開啟速度,並減少初始網路用量等。
* Support has been added for [tail call elimination](https://github.com/WebAssembly/tail-call/blob/main/proposals/tail-call/Overview.md) in WebAssembly language to improve support for functional languages.
* 為 WebAssembly 語言添加了 [tail call elimination](https://github.com/WebAssembly/tail-call/blob/main/proposals/tail-call/Overview.md) (尾呼叫最佳化) 支援,以改善對函數式語言(functional languages)的支援。

### Community Contributions
* With the release of Firefox 121, we are pleased to welcome the developers who contributed their first code change to Firefox in this release, 16 of whom were brand new volunteers! Please join us in thanking each of these diligent and enthusiastic individuals, and take a look at their contributions:
* andreas221b: [1860232](https://bugzilla.mozilla.org/1860232)
* Andy: [1855926](https://bugzilla.mozilla.org/1855926)
* astrid: [1862509](https://bugzilla.mozilla.org/1862509)
* bbhtt: [1863116](https://bugzilla.mozilla.org/1863116)
* Debadree Chatterjee: [1827733](https://bugzilla.mozilla.org/1827733), [1831412](https://bugzilla.mozilla.org/1831412)
* Freya: [1857749](https://bugzilla.mozilla.org/1857749)
* jerome: [1861722](https://bugzilla.mozilla.org/1861722)
* Komuhangi Tumuhairwe: [1860231](https://bugzilla.mozilla.org/1860231)
* Luke: [1864331](https://bugzilla.mozilla.org/1864331)
* Mohak: [1862513](https://bugzilla.mozilla.org/1862513)
* Nagata Aptana: [1860230](https://bugzilla.mozilla.org/1860230)
* nzai: [1855726](https://bugzilla.mozilla.org/1855726), [1863869](https://bugzilla.mozilla.org/1863869)
* Patryk Gruszka: [1862507](https://bugzilla.mozilla.org/1862507), [1864834](https://bugzilla.mozilla.org/1864834)
* RAN1: [1837824](https://bugzilla.mozilla.org/1837824)
* Tamsin: [1840621](https://bugzilla.mozilla.org/1840621)
* Victor Boivie: [1464914](https://bugzilla.mozilla.org/1464914), [1859759](https://bugzilla.mozilla.org/1859759), [1862740](https://bugzilla.mozilla.org/1862740)