Closed
Bug 279252
Opened 20 years ago
Closed 20 years ago
"background-position: bottom" is ignored on body element
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: uruviel, Assigned: roc)
References
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050120 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050120 Firefox/1.0+
While applying "background:url("trans.gif") bottom repeat-x #ffffff;" where
trans.gif is any image with a height. Gecko just doens't position the background
at the bottom of the screen. This used to work in the 1.0final
Reproducible: Always
Steps to Reproduce:
1.apply "background-position: bottom" to body element
2.Load the page
3.
Actual Results:
You see a small line of the background on top of the screen.
Expected Results:
See the image on the bottom of the screen expanded to its full height.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
please view in latest nightly and in the 1.0 final.
You can immediately see the deferent’s. I believe that the result in 1.0final
is the desired result.
Comment 3•20 years ago
|
||
*** Bug 279253 has been marked as a duplicate of this bug. ***
Comment 4•20 years ago
|
||
Not really, the BODY element does not have a height of 100% so it should not
appear at the bottom of the screen.
->INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 5•20 years ago
|
||
Applying it to the HTML or :root gives me the same problem
Comment 6•20 years ago
|
||
That is because the HTML element does not have a height of 100% as well.
| Reporter | ||
Comment 7•20 years ago
|
||
Yes but it still doesn't work when applying min-height: 100% or height: 100% on
the body element
Comment 8•20 years ago
|
||
Because then the BODY element will get the height of HTML element which is still
auto and not 100% ;-)
However, bugzilla is bug triaging system, not a user forum to ask questions
about CSS.
Updated•7 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•