Closed Bug 235672 Opened 21 years ago Closed 20 years ago

Background-color on a block(-tag) gets misdisplay when page-break within this block

Categories

(Core :: Printing: Output, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 294836

People

(Reporter: ThomasZillinger, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6) Gecko/20040113 I created a xhtml file, where a <div> block has a background-color with a width smaller then the page width (by using 'margins'). If the content of this block is split into two parts because it does not fit on the first page then the background-color is blown up to full width of the following page. Reproducible: Always Steps to Reproduce: My css file: ------------ body { font-size: 12pt } .subsection .title { font-size: 150%; margin-top: 1.5em; margin-bottom: 0.5em; font-weight: normal; } .configentry { font-size: 80%; background-color: #efefef; border: 1px solid #dddddd; display: block; margin: 1.5em 3em 1.5em 2em; padding: 0.5em; } my xhtml file: -------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?xml-stylesheet type="text/css" href="module concept_1.css" ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <div style="height:700px"/> <div class="subsection"> <div class="title">The directory structure</div> <div class="configentry"><pre>* module root | +- <strong>config.xml</strong> | +- conf | +- MyNavigationFile.conf | +- MyTaxonomy.conf | +- MyCostumproperties.conf | +- MyRegistration.conf | +- MyTexlets.zip | +- download | +- helpfile.pdf | +- html | +- MyModuleMain.html | +- ... | +- jsp | +- index.jsp | +- ... | +- lib | +- mymodulecode.jar | +- styles +- MyDefaultStyles.css</pre> </div> </div> </body> </html>
This is what happens if i print the html page
BTW, I have 'Print Background' turned on in the 'Page Setup'. I will turn it off again, because the output is quite unusable, with the whole next pages being displayed with a grey background ;).
Whiteboard: DUPEME
*** Bug 239756 has been marked as a duplicate of this bug. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
I've also hit what I think is the same bug. In my test case the background colour from a td tag bleeds through the whole of the second page of a printout when background colours and images are included. If the page is actually printed then the same effect is seen, but the actual colour is sometimes different.
All testcases and URLs worksforme now, they don't work in a 28/08 build, so this was fixed by bug 294836 *** This bug has been marked as a duplicate of 294836 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: