Closed
Bug 816603
Opened 12 years ago
Closed 12 years ago
background-color does not print in certain site
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: alice0775, Assigned: mattwoodrow)
References
Details
(Keywords: regression)
Attachments
(2 files)
218 bytes,
text/html
|
Details | |
1.49 KB,
patch
|
tnikkel
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Build Identifier: http://hg.mozilla.org/mozilla-central/rev/58a4e9501f7e Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121129 Firefox/20.0 ID:20121129030820 This is spun off from Bug 816498. The problem is reproduced in Firefox18.0beta and later. Steps to Reproduce: 1. Open http://www.tizag.com/htmlT/htmlbackground.php 2. File > Page setup.. "Print Background (colors & images)" checked. 3. Print Actual results: Background-color of body element is missing Expected results: Should print Regression window(m-c) Bad(no backgound image): http://hg.mozilla.org/mozilla-central/rev/e327e66a027d Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120924073014 Bad(no backgound image and no backgound): http://hg.mozilla.org/mozilla-central/rev/654489f4be25 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120924174724 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e327e66a027d&tochange=654489f4be25 Regression window(m-i) Bad(no backgound image): http://hg.mozilla.org/integration/mozilla-inbound/rev/1d33725cf167 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120923185215 Bad(no backgound image and no backgound): http://hg.mozilla.org/integration/mozilla-inbound/rev/f8e84de2291e Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120923195716 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=1d33725cf167&tochange=f8e84de2291e Suspected: Bug 792314
Reporter | ||
Comment 1•12 years ago
|
||
Screen shot is available in attachment 686674 [details]
Reporter | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Matt - can you look at whether a backout of bug 792314 is the best option to not ship this regression in 18?
Assignee: nobody → matt.woodrow
status-firefox18:
--- → affected
status-firefox19:
--- → affected
status-firefox20:
--- → affected
Assignee | ||
Comment 4•12 years ago
|
||
Correct invalidation within print preview (with DLBI) relies on that bug. That affects at least one reftest, and I'm not sure what impact it could have on real world use cases. I'll tackle this bug today and see if I can figure it out.
Assignee | ||
Comment 5•12 years ago
|
||
We used to call nsLayoutUtils::PaintFrame when painting an nsPageFrame, which called this. We need to do it manually now instead, just like nsSubDocumentFrame.
Attachment #686834 -
Flags: review?(tnikkel)
Updated•12 years ago
|
Attachment #686834 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fe921e2ad3db
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fe921e2ad3db
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment on attachment 686834 [details] [diff] [review] Set the canvas color correctly [Approval Request Comment] Bug caused by (feature/regressing bug #): 792314 User impact if declined: Page background color does not print if requested Testing completed (on m-c, etc.): a few days on m-c Risk to taking this patch (and alternatives if risky): Low risk. Only affects printing with background colors. String or UUID changes made by this patch: None
Attachment #686834 -
Flags: approval-mozilla-beta?
Attachment #686834 -
Flags: approval-mozilla-aurora?
Comment 9•12 years ago
|
||
Comment on attachment 686834 [details] [diff] [review] Set the canvas color correctly low risk, regression fix, approved.
Attachment #686834 -
Flags: approval-mozilla-beta?
Attachment #686834 -
Flags: approval-mozilla-beta+
Attachment #686834 -
Flags: approval-mozilla-aurora?
Attachment #686834 -
Flags: approval-mozilla-aurora+
Comment 10•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/ef562b6a621a https://hg.mozilla.org/releases/mozilla-beta/rev/1e56f66d7ee9
Comment 11•12 years ago
|
||
I can reproduce this issue on FF 18b6. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0(20121231071231) Background images are not printed following steps from Comment 0.
Comment 12•12 years ago
|
||
In print preview background images are missing too.
Comment 13•11 years ago
|
||
(In reply to Ryan VanderMeulen from comment #10) > https://hg.mozilla.org/releases/mozilla-aurora/rev/ef562b6a621a > https://hg.mozilla.org/releases/mozilla-beta/rev/1e56f66d7ee9 Same problem for FF 19.b1 as the one mentioned in comment 11 and 12. This is not fixed yet. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0 (20130109111322)
Comment 14•11 years ago
|
||
Unless the specific testcase called "reduced testcase" in this bug doesn't work correctly I think we should get a new bug(s) filed for the issues mentioned in comments 11, 12, and 13.
Comment 15•11 years ago
|
||
Same problem on FF 19b2 Windows 7x64. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0 (20130116072953)
Comment 16•11 years ago
|
||
Verified as fixed with the reduced testcase on Windows 7 32bit: Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19 (20130215130331) MarioMi, please file new bugs for what you can reproduce with the URL in comment 0.
Comment 17•11 years ago
|
||
Verified as fixed on: Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20130220 Firefox/22.0 (20130220031126)
QA Contact: ioana.budnar
You need to log in
before you can comment on or make changes to this bug.
Description
•