vh unit is too small when we print a document with big font-size

UNCONFIRMED
Unassigned

Status

()

Core
Printing: Output
UNCONFIRMED
4 years ago
4 years ago

People

(Reporter: tzi, Unassigned)

Tracking

23 Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
Created attachment 796055 [details]
An exemple of a parent with a height of 100vh. It does not take the full height of the document if the child have a too big font-size.

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130803193343

Steps to reproduce:

1. I created a simple document with a parent element that use vh unit to define its own height. This element is the parent of an child element that use a big font-size (> 300px).
2. I print this document.


Actual results:

The parent element has smaller height that it should have.
More the font size is big, more the parent element is small.
http://fiddle.jshell.net/tzilliox/4GrEN/show/


Expected results:

The parent element should still have his height proportional to the document.
http://fiddle.jshell.net/tzilliox/Ct2vg/show/
(Reporter)

Comment 1

4 years ago
Created attachment 796056 [details]
The same test case with a normal font-size

Updated

4 years ago
Component: Untriaged → Printing: Output
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.