Closed Bug 2026120 Opened 1 month ago Closed 1 month ago

Print renders <details> always opened

Categories

(Core :: Printing: Output, defect)

Firefox 149
defect

Tracking

()

RESOLVED DUPLICATE of bug 2026109

People

(Reporter: quatsch, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce:

Opened a HTML page with a <details> element (a simple testcase attached). Keep the <details> element closed, so that only the content of the <summary> is visible. Selecting "Print" (Ctrl+P).

Actual results:

The print preview shows the content of the closed (i.e. of all) <details> elements.

Expected results:

Selecting "Print" (Ctrl+P) should only show the <summary> of the closed <details> elements.

Attachment #9557866 - Attachment description: ff_bug.html → Example of rendering <dertails> always open in print preview.

The Bugbug bot thinks this bug should belong to the 'Core::Printing: Output' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Printing: Output
Product: Firefox → Core

Luckily, printing closed <details> is fixed by Bug 2026109, too.

Severity: -- → S3
Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2026109
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: