Page MenuHomePhabricator

Fix printing with new scroll
ClosedPublic

Authored by chad on Feb 3 2015, 2:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 15, 11:57 PM
Unknown Object (File)
Thu, Apr 11, 10:53 AM
Unknown Object (File)
Mar 19 2024, 5:57 AM
Unknown Object (File)
Feb 26 2024, 7:24 PM
Unknown Object (File)
Feb 12 2024, 4:50 AM
Unknown Object (File)
Jan 30 2024, 6:19 AM
Unknown Object (File)
Jan 30 2024, 6:19 AM
Unknown Object (File)
Jan 30 2024, 6:19 AM
Subscribers
Tokens
"Mountain of Wealth" token, awarded by epriestley.

Details

Reviewers
epriestley
Maniphest Tasks
T7115: Unable to print any page
Commits
Restricted Diffusion Commit
rP9df4cb37d405: Fix printing with new scroll
Summary

Fixes T7115, at least for me. Unclear if this is the "correct" fix.

Test Plan

Try to print, get page.

Diff Detail

Repository
rP Phabricator
Branch
print-css
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4264
Build 4277: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

chad retitled this revision from to Fix printing with new scroll.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.

Use !print on these rules instead of @media print, so ?__print__=1 also activates these rules.

https://secure.phabricator.com/book/phabcontrib/article/css_coding_standards/#printable-rules

e.g.

!print .main-page-frame {
  ...
}
This revision now requires changes to proceed.Feb 3 2015, 2:39 AM

(I do think this is the correct fix, at least more or less.)

Oh let me try again, I mucked with printable at first, but couldn't find the magic sauce.

chad edited edge metadata.
  • !print
epriestley edited edge metadata.

Cool, thanks for fixing this!

This revision is now accepted and ready to land.Feb 3 2015, 2:44 AM
This revision was automatically updated to reflect the committed changes.

I'm just here so I won't get fined.