New issue
Advanced search Search tips

Issue 777528 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Print preview should display scrollbars on overflowing iframes

Project Member Reported by szager@chromium.org, Oct 23 2017

Issue description

Attached are two print previews for the following html:

<!DOCTYPE html>
<iframe srcdoc='<div style="font-size: 144px">Hello, frame!</div>'></iframe>
<div style='height:2000px'></div>

The screenshots are before and after this change:

https://chromium-review.googlesource.com/c/chromium/src/+/729713

The first one reserves space for scrollbars in the iframe, but doesn't print them.  The second one does not reserve space for them.  Both of them are wrong: the overflowing iframe should display its scrollbars.

It's not clear what the correct behavior is on platforms with overlay scrollbars.
 
iframe-print-before.png
8.7 KB View Download
iframe-print-after.png
14.6 KB View Download

Comment 1 by e...@chromium.org, Oct 30 2017

Owner: szager@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment