Bug 1830307 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I can reproduce in Nightly 114.0a1 (2023-05-03) on Ubuntu 22.04.

Interestingly, I can work around the issue by first shrinking my browser window.
* If my viewport is less than 960px wide, CNN renders with a more single-column "mobile layout" with the main story occupying the full viewport width, and I can successfully print-preview when starting from that state.
* If my viewport is 960px wide or wider, CNN renders with a multi-column article layout, and I trigger this bug when attempting to print from that state.

HOWEVER, if I have landscape-oriented paper pre-selected, then I actually get the opposite outcome -- if my browser viewport is skinny when open the print dialog, I end up with blank pages; if my browser viewport is wide, I get pages with the desired content.

So the issue appears to reproduce when our print operation informs CNN that we're **cross that 960px viewport-size threshold** (in either direction) when we generate the print-preview rendering. That probably causes them to rebuild or restyle some part of the page.   (And presumably portrait-mode US Letter paper has a viewport that is skinnier than 960px, whereas landscape mode is wider than 960px.)
I can reproduce in Nightly 114.0a1 (2023-05-03) on Ubuntu 22.04.

Interestingly, I can work around the issue by first shrinking my browser window.
* If my viewport is less than 960px wide, CNN renders with a more single-column "mobile layout" with the main story occupying the full viewport width, and I can successfully print-preview when starting from that state.
* If my viewport is 960px wide or wider, CNN renders with a multi-column article layout, and I trigger this bug when attempting to print from that state.

HOWEVER, if I have landscape-oriented paper pre-selected, then I actually get the opposite outcome -- I end up with blank pages if-and-only-if my browser viewport is skinnier than 960px at the moment that I print.

So the issue appears to reproduce when our print operation informs CNN that we're **cross that 960px viewport-size threshold** (in either direction) when we generate the print-preview rendering. That probably causes them to rebuild or restyle some part of the page.   (And presumably portrait-mode US Letter paper has a viewport that is skinnier than 960px, whereas landscape mode is wider than 960px.)
I can reproduce in Nightly 114.0a1 (2023-05-03) on Ubuntu 22.04.

Interestingly, I can work around the issue by first shrinking my browser window.
* If my viewport is less than 960px wide, CNN renders with a more single-column "mobile layout" with the main story occupying the full viewport width, and I can successfully print-preview when starting from that state.
* If my viewport is 960px wide or wider, CNN renders with a multi-column article layout, and I trigger this bug when attempting to print from that state.

HOWEVER, if I have landscape-oriented paper pre-selected, then I actually get the opposite outcome -- I end up with blank pages if-and-only-if my browser viewport is skinnier than 960px at the moment that I print.

So the issue appears to reproduce when our print operation informs CNN that the document is **crossing that 960px viewport-size threshold** (in either direction) when we generate the print-preview rendering. That probably causes them to rebuild or restyle some part of the page.   (And presumably portrait-mode US Letter paper has a viewport that is skinnier than 960px, whereas landscape mode is wider than 960px.)

Back to Bug 1830307 Comment 3