Closed Bug 1496279 Opened 2 years ago Closed 2 years ago
Loader::Register CSSImage doesn't need to be called on loading document when printing
46 bytes, text/x-phabricator-request
|Details | Review|
For a print document, we load any CSS images using the original document's ImageLoader. We also register the CSS image with that ImageLoader but since that only has the effect of finding those image when a test is asked to flush use counters for them, I don't think we need to do that.
I tried removing the loading document registration and printing a document that had some images that were only used in a `@media print` rule and it seemed to work fine.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/3b7ba9bbad14 Don't register CSS images in the loading document when printing r=emilio
You need to log in before you can comment on or make changes to this bug.