Closed
Bug 49054
Opened 25 years ago
Closed 25 years ago
Background image cut off by scrollbar
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: bugzilla-mozilla-20220926, Assigned: clayton)
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-3 i686; en-US; m18) Gecko/20000815
BuildID: 2000081505
I have a background image defined in CSS as follows:
body { background-color: white; background-image: url(image.png);
background-repeat: no-repeat; background-position: 100% 100%;
background-attachment: fixed }
The image is displayed in the lower right-hand corner of the browser, but the
right side is cut off by the scrollbar.
Reproducible: Always
Steps to Reproduce:
1. Create a page (using text in 'additional information' and any image as
image.png).
2. Navigate to it and notice that it appears past the viewable edge of the document.
Expected Results: The image should be entirely in the viewable area of the page
(i.e. the page should not extend underneath the scrollbar).
<?xml version="1.0">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
<html xmlns="http://www.w3.org/TR/xhtml1">
<head>
<title>Test page</title>
<style>
body { background-color: white; background-image: url(image.png);
background-repeat: no-repeat; background-position: 100% 100%;
background-attachment: fixed }
</style>
</head>
<body>
<p>This is body text.</p>
</body>
</html>
Text is flowed properly to the right margin if 'text-align: right' is specified.
Comment 1•25 years ago
|
||
I'm seeing this on Linux, CVS from 082019.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•25 years ago
|
||
*** This bug has been marked as a duplicate of 46814 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•