Closed
Bug 836875
Opened 12 years ago
Closed 12 years ago
Background is no longer painted in Print output/Print preview
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: alice0775, Assigned: smaug)
References
Details
(Keywords: regression)
Attachments
(3 files)
440 bytes,
text/html
|
Details | |
1.03 KB,
patch
|
roc
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1.17 KB,
patch
|
Details | Diff | Splinter Review |
Build Identifier:
http://hg.mozilla.org/releases/mozilla-aurora/rev/a728a1f234a0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20130131 Firefox/20.0 ID:20130131042017
http://hg.mozilla.org/mozilla-central/rev/20bbf73921f4
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130131 Firefox/21.0 ID:20130131031009
Steps to reproduce:
1. Open Attached testcase html
2. Check "Print Background (colors & images)" in Page Setup Dialog
3. Perform Print out/Print preview
Actual results:
No background is painted in Print output/Print preview
Expected results:
Background should be painted in Print output/Print preview
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/a2c46e2c7df1
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130110 Firefox/21.0 ID:20130110010011
Bad:
http://hg.mozilla.org/mozilla-central/rev/5a74a94f6d44
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130110 Firefox/21.0 ID:20130110024509
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a2c46e2c7df1&tochange=5a74a94f6d44
Regressed by:
5a74a94f6d44 Olli Pettay — Bug 817342, delay script runners when making static clones, r=roc
Assignee | ||
Comment 1•12 years ago
|
||
Attachment missing?
Assignee | ||
Updated•12 years ago
|
Whiteboard: regressed by Bug 817342
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → bugs
![]() |
Reporter | |
Comment 2•12 years ago
|
||
Updated•12 years ago
|
status-firefox20:
--- → affected
status-firefox21:
--- → affected
Assignee | ||
Comment 3•12 years ago
|
||
so, bgcolor seems to be printed, but image isn't.
Assignee | ||
Comment 4•12 years ago
|
||
So we manually clone style sheets in nsIDocument::CreateStaticClone, and
since the scriptrunners end up now running after that, also
nsStyleLinkElement::DoUpdateStyleSheet is run after we have already
the right stylesheet and manual bg image loading fails.
I'll try to figure out if I can write a chrome test for this.
Attachment #709679 -
Flags: review?(roc)
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #709679 -
Flags: review?(roc) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 709679 [details] [diff] [review]
patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 817342
User impact if declined: background images aren't painted
Testing completed (on m-c, etc.): just landed to m-c
Risk to taking this patch (and alternatives if risky): we don't have good tests for printing. So this is tiny bit risky as patches changing printing usually are.
String or UUID changes made by this patch: NA
Attachment #709679 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Target Milestone: --- → mozilla21
Comment 8•12 years ago
|
||
Triage comment: Will wait for verification on nightly before approving uplift seeing as we're missing wider test coverage.
Verified fixed on Firefox Nightly 21.0a1 2013-02-06. Leaving verifyme keyword so we can verify on other branches once uplifted.
Keywords: qawanted
Comment 10•12 years ago
|
||
Comment on attachment 709679 [details] [diff] [review]
patch
Approving on aurora, considering the QA verfication on nightly.
Attachment #709679 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 11•12 years ago
|
||
Had to do a tiny merge.
https://hg.mozilla.org/releases/mozilla-aurora/rev/4834041b3f2d
Assignee | ||
Updated•12 years ago
|
Comment 12•12 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; rv:20.0) Gecko/20100101 Firefox/20.0
Build ID: 20130220104816
Verify as fixed on Firefox 20 beta 1: - background is properly painted in Print output/Print preview.
QA Contact: simona.marcu
You need to log in
before you can comment on or make changes to this bug.
Description
•