Showing questions for topic:
顯示下列標籤的問題:

Print preview in Firefox 149 renders all <option> elements inside <select> instead of only the selected value.

In Firefox version 149, there is an issue with print preview behavior for HTML <select> elements. When opening print preview, all <option> items inside a drop… (閱讀更多)

In Firefox version 149, there is an issue with print preview behavior for HTML <select> elements. When opening print preview, all <option> items inside a dropdown are displayed and included in the print output.

This behavior differs from Firefox 148, where only the selected option is rendered correctly during print preview.

Steps to reproduce:

- Create an HTML page with a <select> dropdown containing multiple <option> elements. - Select one of the options. - Open print preview (Ctrl + P).

Expected result: Only the selected option should be visible and printed.

Actual result: All options inside the <select> element are displayed and printed.

Impact: This issue breaks the layout of printed documents and makes forms difficult to read, especially when dropdowns contain many options.

已解決 11 377