Closed
Bug 322009
Opened 19 years ago
Closed 19 years ago
Print preview shows element backgrounds stretching beyond their bounds
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 294836
People
(Reporter: malichus, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
When I print-preview the below document, the background color for the <h1/> covers the entire page! This does not occur on screen.
Reproducible: Always
Steps to Reproduce:
1. Load this markup:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
h1 { background: #eee; }
</style>
</head>
<body>
<h1>Test</h1>
<p>What's all this, then?</p>
</body>
</html>
2. Print Preview.
3. Page Setup > Print backgrounds
Actual Results:
The background from the <h1/> covers also the <p/>, and in fact the entire page!
Expected Results:
The background from the <h1/> should not extend beyond the bounds of the <h1/>.
Workaround:
body { background: #fff; }
This also doesn't seem to occur in more complex documents. (I only found it when minimizing a test case.)
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 294836 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•