Open
Bug 967311
Opened 11 years ago
Updated 2 years ago
Need a way to run reftest-print with shrink-to-fit
Categories
(Testing :: Reftest, enhancement, P4)
Testing
Reftest
Tracking
(Not tracked)
NEW
People
(Reporter: MatsPalmgren_bugz, Unassigned)
Details
In bug 966419 and bug 960822 we added some tests to verify that
shrink-to-fit works as intended but it seems the reftest
framework does not apply shrink-to-fit (although it's the
default in the browser Print and Print Preview).
Updated•11 years ago
|
Priority: -- → P4
Version: unspecified → Trunk
Comment 1•11 years ago
|
||
I suspect we should be able to fix this by setting "ps.shrinkToFit = true;" inside of setupPrintMode(), in reftest-content.js, per bug 966419 comment 8. (but only do it if we have a new special class on <html>, or something)
It's worth thinking about whether we'd want to set other print settings -- it might make sense to have something like a JSON blob in an attribute, e.g., data-print-settings="{ shrinkToFit: true }" on the HTML element. It's also worth trying to keep it easy; it seems like there should be easy solutions here that don't require spending too much time on.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•