Closed Bug 1693026 Opened 1 year ago Closed 1 year ago

Printing in Firefox outputs only one page due to `html,body { height: 100%; overflow-x: hidden;}`

Categories

(Core :: Printing: Setup, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jwatt, Unassigned)

Details

(Whiteboard: [old-ui+])

Attachments

(1 file)

https://www.scia.net/fr/support/faq/acier/coefficients-flambement

It looks like the body { height: 100%; } results in us printing only one page, whereas that doesn't happen in Chrome.

Comment on attachment 9205022 [details]
a minimized test case

A keyfactor is height: 100% and overflow-x: hidden; on both <html> and <body>.

Attachment #9205022 - Attachment description: t.html → a minimized test case

it's surprising overflow-x: hidden cuts off the vertical pages. Our overflow properties propagation stuff seems to be broken on printing?

Severity: -- → S3
Summary: Printing in Firefox outputs only one page due to `body { height: 100%; }` → Printing in Firefox outputs only one page due to `html,body { height: 100%; overflow-x: hidden;}`

What Chrome version are you comparing against? On my MacBook, Chrome matches our behavior and prints only a single page, at the original URL and with hiro's reduced testcase. Safari does, too.

I'm testing Chrome version 88.0.4324.192 (Official Build) (x86_64) and Safari 14.03.

(In reply to Daniel Holbert [:dholbert] from comment #4)

What Chrome version are you comparing against? On my MacBook, Chrome matches our behavior and prints only a single page, at the original URL and with hiro's reduced testcase. Safari does, too.

Hmm, I'm getting the same behavior (now?) too.

(In reply to Hiroyuki Ikezoe (:hiro) from comment #3)

it's surprising overflow-x: hidden cuts off the vertical pages. Our overflow properties propagation stuff seems to be broken on printing?

I also find that surprising. That said Chrome seems to be have the same way so this probably isn't worth spending time on given everything else.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
Whiteboard: [print2020_v87] [old-ui+] → [print2020] [old-ui+]
Whiteboard: [print2020] [old-ui+] → [old-ui+]
You need to log in before you can comment on or make changes to this bug.